|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectCADI.Server.LogicalTarget.LogicalTargetList
public class LogicalTargetList
This class implements a list of loaded logical targets. Logicat targets will be loaded and indexed the first time they are requested. Then they are saved to improve the response of the next requests.
| Field Summary | |
|---|---|
private java.util.ArrayList<ServerLogicalTarget> |
logicalTargets
Contains the list of loaded logical targets. |
| Constructor Summary | |
|---|---|
LogicalTargetList()
Constructor of LogicalTargetList. |
|
| Method Summary | |
|---|---|
void |
add(ServerLogicalTarget logicalTarget)
Appends the specific logical target to the list of logical targets. |
boolean |
equals(java.lang.String target,
java.lang.String tid)
Check if the logical target identified |
ServerLogicalTarget |
getByTarget(java.lang.String target)
Gets a logical target from the list. |
ServerLogicalTarget |
getByTID(java.lang.String tid)
Gets a logical target from the list. |
boolean |
isEmpty()
Returns true if the list contains no elements. |
void |
list(java.io.PrintStream out)
Prints this Logical Target List fields out to the specified output stream. |
int |
size()
Returns the number of elements in the list. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private java.util.ArrayList<ServerLogicalTarget> logicalTargets
| Constructor Detail |
|---|
public LogicalTargetList()
| Method Detail |
|---|
public void add(ServerLogicalTarget logicalTarget)
logicalTarget - logical target to be appended to the list.public ServerLogicalTarget getByTID(java.lang.String tid)
tid).
tid - definition in TargetField.target.
tid is not in the list, it returns null
public ServerLogicalTarget getByTarget(java.lang.String target)
target.
target - definition in TargetField.target.
target is not in the list, it returns null
public boolean equals(java.lang.String target,
java.lang.String tid)
target - definition in TargetField.target.tid - definition in TargetField.tid.
true if the target belongs to the
target identifier tid.public boolean isEmpty()
true if the list contains no elements. Otherwise,
returns false.
true if the list contains no elements.public int size()
public java.lang.String toString()
toString in class java.lang.Objectpublic void list(java.io.PrintStream out)
out - an output stream.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||