Package | Description |
---|---|
provided.datapacket | |
provided.extvisitor |
Modifier and Type | Class and Description |
---|---|
class |
ADataPacket
Abstract data packet that defines the use of a Class object as the index type.
|
class |
DataPacket<T>
Concrete data packet that holds a generic type of data.
|
Modifier and Type | Method and Description |
---|---|
<T extends IExtVisitorHost<java.lang.Class<?>,? super ADataPacket>> |
ADataPacketAlgoCmd.apply(java.lang.Class<?> index,
T host,
P... params)
The actual method called by the host visitor when the associated case is invoked.
|
Modifier and Type | Class and Description |
---|---|
class |
AExtVisitor<R,I,P,H extends IExtVisitorHost<I,? super H>>
Abstract implementation of IExtVisitor that adds an invariant implementation of
storing commands associated with each case in a dictionary indexed by the
case's associated index value.
|
class |
AExtVisitorHost<I,H extends IExtVisitorHost<I,? extends H>>
Abstract implementation of IExtVisitorHost that provides defines a host by an index value and thus,
a concrete execute method.
|
interface |
IExtVisitor<R,I,P,H extends IExtVisitorHost<I,? super H>>
Interface that defines an extended visitor that has specific types for its
return value, R, its index value, I, its input parameters, P, and its
host, H.
|
interface |
IExtVisitorCmd<R,I,P,H extends IExtVisitorHost<I,? super H>>
Interface that defines a command used by AExtVisitor that has specific
types for its return value, R, its index value, I, its input parameters, P,
and its host, H.
|
interface |
IExtVisitorHost<I,H extends IExtVisitorHost<I,? extends H>>
An interface defining a host for an IExtVisitor who can visit this type of host.
|
Modifier and Type | Class and Description |
---|---|
class |
AExtVisitorHost<I,H extends IExtVisitorHost<I,? extends H>>
Abstract implementation of IExtVisitorHost that provides defines a host by an index value and thus,
a concrete execute method.
|
Modifier and Type | Method and Description |
---|---|
<T extends IExtVisitorHost<I,? super H>> |
IExtVisitorCmd.apply(I index,
T host,
P... params)
The method that is run by AExtVisitor when the case associated with this
command is executed.
|
<T extends IExtVisitorHost<I,? super H>> |
IExtVisitor.caseAt(I idx,
T host,
P... params)
The parameterized case of the visitor.
|
<T extends IExtVisitorHost<I,? super H>> |
AExtVisitor.caseAt(I idx,
T host,
P... params)
Concrete implementation of the parameterized case method that takes
the index value, retrieves an associated IExtVisitor command and
executes the command with the given host and input parameters.
|