|
NIST-SIP: The Reference Implementation for JAIN-SIP 1.2 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.util.AbstractCollection
java.util.AbstractList
java.util.AbstractSequentialList
java.util.LinkedList
gov.nist.core.GenericObjectList
gov.nist.javax.sip.address.NetObjectList
Root class for all the collection objects in this list: a wrapper class on the GenericObjectList class for lists of objects that can appear in NetObjects. IMPORTANT NOTE: NetObjectList cannot derive from NetObject as this will screw up the way in which we attach objects to headers.
| Constructor Summary | |
NetObjectList()
Construct an empty NetObjectList. |
|
NetObjectList(String lname)
Construct a NetObject List given a list name. |
|
NetObjectList(String lname,
Class cname)
Construct a NetObject List given a list name and a class for the objects that go into the list. |
|
NetObjectList(String lname,
String cname)
Construct a NetObject List given a list name and a class for the objects that go into the list. |
|
| Method Summary | |
void |
add(NetObject obj)
Add a new object to the list. |
void |
concatenate(NetObjectList net_obj_list)
concatenate the two Lists |
String |
debugDump(int indent)
Convert to a string given an indentation(for pretty printing). |
gov.nist.core.GenericObject |
first()
returns the first element |
Class |
getMyClass()
Get the class for all objects in my list. |
gov.nist.core.GenericObject |
next()
returns the next element |
gov.nist.core.GenericObject |
next(ListIterator li)
returns the next element |
void |
setMyClass(Class cl)
set the class |
String |
toString()
Encode this to a string. |
| Methods inherited from class gov.nist.core.GenericObjectList |
addFirst, clone, debugDump, encode, equals, isMySubclass, match, mergeObjects, setSeparator |
| Methods inherited from class java.util.LinkedList |
add, add, addAll, addAll, addFirst, addLast, clear, contains, get, getFirst, getLast, indexOf, lastIndexOf, listIterator, remove, remove, removeFirst, removeLast, set, size, toArray, toArray |
| Methods inherited from class java.util.AbstractSequentialList |
iterator |
| Methods inherited from class java.util.AbstractList |
hashCode, listIterator, subList |
| Methods inherited from class java.util.AbstractCollection |
containsAll, isEmpty, removeAll, retainAll |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.List |
add, add, addAll, addAll, clear, contains, containsAll, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray |
| Constructor Detail |
public NetObjectList(String lname)
lname - String to set
public NetObjectList(String lname,
Class cname)
lname - String to setcname - Class to set
public NetObjectList(String lname,
String cname)
lname - String to setcname - String to setpublic NetObjectList()
| Method Detail |
public void add(NetObject obj)
obj - NetObject to setpublic void concatenate(NetObjectList net_obj_list)
net_obj_list - NetObjectList to setpublic gov.nist.core.GenericObject first()
public Class getMyClass()
public gov.nist.core.GenericObject next()
public gov.nist.core.GenericObject next(ListIterator li)
li - ListIterator to set
public void setMyClass(Class cl)
cl - Class to setpublic String debugDump(int indent)
indent - int to set
public String toString()
|
NIST-SIP: The Reference Implementation for JAIN-SIP 1.2 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||