|
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<E>
java.util.AbstractList<E>
java.util.AbstractSequentialList<E>
java.util.LinkedList<gov.nist.core.GenericObject>
gov.nist.core.GenericObjectList
gov.nist.javax.sip.header.SIPObjectList
public class SIPObjectList
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 SIPObjects. IMPORTANT NOTE: SIPObjectList cannot derive from SIPObject.
Constructor Summary | |
---|---|
SIPObjectList()
Construct an empty SIPObjectList. |
|
SIPObjectList(String lname)
Construct a SIPObject List given a list name. |
Method Summary | |
---|---|
void |
concatenate(SIPObjectList otherList)
Append a given list to the end of this list. |
void |
concatenate(SIPObjectList otherList,
boolean topFlag)
Append or prepend a given list to this list. |
String |
debugDump(int indent)
Convert to a string given an indentation(for pretty printing). |
gov.nist.core.GenericObject |
first()
Get the first object of this list. |
void |
mergeObjects(gov.nist.core.GenericObjectList mergeList)
Do a merge of the GenericObjects contained in this list with the GenericObjects in the mergeList. |
gov.nist.core.GenericObject |
next()
Get the next object of this list (assumes that first() has been called prior to calling this method.) |
Methods inherited from class gov.nist.core.GenericObjectList |
---|
addFirst, clone, debugDump, encode, equals, isMySubclass, match, setMyClass, setSeparator, toString |
Methods inherited from class java.util.LinkedList |
---|
add, add, addAll, addAll, addLast, clear, contains, descendingIterator, element, get, getFirst, getLast, indexOf, lastIndexOf, listIterator, offer, offerFirst, offerLast, peek, peekFirst, peekLast, poll, pollFirst, pollLast, pop, push, remove, remove, remove, removeFirst, removeFirstOccurrence, removeLast, removeLastOccurrence, 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 |
---|
containsAll, hashCode, isEmpty, iterator, listIterator, removeAll, retainAll, subList |
Methods inherited from interface java.util.Deque |
---|
iterator |
Constructor Detail |
---|
public SIPObjectList(String lname)
lname
- String to setpublic SIPObjectList()
Method Detail |
---|
public void mergeObjects(gov.nist.core.GenericObjectList mergeList)
mergeObjects
in class gov.nist.core.GenericObjectList
mergeList
- is the list of Generic objects that we want to do
an object by object merge with. Note that no new objects are
added to this list.public void concatenate(SIPObjectList otherList)
otherList
- SIPObjectList to setpublic void concatenate(SIPObjectList otherList, boolean topFlag)
otherList
- SIPObjectList to settopFlag
- boolean to setpublic gov.nist.core.GenericObject first()
first
in class gov.nist.core.GenericObjectList
public gov.nist.core.GenericObject next()
next
in class gov.nist.core.GenericObjectList
public String debugDump(int indent)
debugDump
in class gov.nist.core.GenericObjectList
indent
- int to set
|
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 |