public class SIPObjectList extends GenericObjectList
AND, AT, COLON, COMMA, DOT, DOUBLE_QUOTE, EQUALS, GREATER_THAN, HT, indentation, LESS_THAN, listName, LPAREN, myClass, NEWLINE, PERCENT, POUND, QUESTION, QUOTE, RETURN, RPAREN, SEMICOLON, SLASH, SP, STAR
modCount
Constructor and Description |
---|
SIPObjectList()
Construct an empty SIPObjectList.
|
SIPObjectList(String lname)
Construct a SIPObject List given a list name.
|
Modifier and Type | Method and Description |
---|---|
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).
|
GenericObject |
first()
Get the first object of this list.
|
void |
mergeObjects(GenericObjectList mergeList)
Do a merge of the GenericObjects contained in this list with the
GenericObjects in the mergeList.
|
GenericObject |
next()
Get the next object of this list (assumes that first() has been
called prior to calling this method.)
|
addFirst, clone, concatenate, concatenate, debugDump, encode, equals, getIndentation, hashCode, isCloneable, isMySubclass, match, next, setMyClass, toString
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
iterator
listIterator, removeRange, subList
containsAll, isEmpty, removeAll, retainAll
finalize, getClass, notify, notifyAll, wait, wait, wait
containsAll, isEmpty, iterator, listIterator, removeAll, retainAll, subList
public SIPObjectList(String lname)
lname
- String to setpublic SIPObjectList()
public void mergeObjects(GenericObjectList mergeList)
mergeObjects
in class 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 GenericObject first()
first
in class GenericObjectList
public GenericObject next()
next
in class GenericObjectList
public String debugDump(int indent)
debugDump
in class GenericObjectList
indent
- int to setCopyright © 2018. All Rights Reserved.