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, STARmodCount| 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, toStringadd, 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, toArrayiteratorlistIterator, removeRange, subListcontainsAll, isEmpty, removeAll, retainAllfinalize, getClass, notify, notifyAll, wait, wait, waitcontainsAll, isEmpty, iterator, listIterator, removeAll, retainAll, subListpublic SIPObjectList(String lname)
lname - String to setpublic SIPObjectList()
public void mergeObjects(GenericObjectList mergeList)
mergeObjects in class GenericObjectListmergeList - 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 GenericObjectListpublic GenericObject next()
next in class GenericObjectListpublic String debugDump(int indent)
debugDump in class GenericObjectListindent - int to setCopyright © 2014. All Rights Reserved.