|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectjava.util.AbstractCollection
java.util.AbstractList
java.util.AbstractSequentialList
java.util.LinkedList
gov.nist.core.GenericObjectList
gov.nist.javax.sip.address.NetObjectList
public class 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.
コンストラクタの概要 | |
---|---|
NetObjectList()
Construct an empty NetObjectList. |
|
NetObjectList(java.lang.String lname)
Construct a NetObject List given a list name. |
|
NetObjectList(java.lang.String lname,
java.lang.Class cname)
Construct a NetObject List given a list name and a class for the objects that go into the list. |
|
NetObjectList(java.lang.String lname,
java.lang.String cname)
Construct a NetObject List given a list name and a class for the objects that go into the list. |
メソッドの概要 | |
---|---|
void |
add(NetObject obj)
Add a new object to the list. |
java.lang.Object |
clone()
Make a clone of this header list and return it. |
void |
concatenate(NetObjectList net_obj_list)
concatenate the two Lists |
java.lang.String |
debugDump(int indent)
Convert to a string given an indentation(for pretty printing). |
GenericObject |
first()
returns the first element |
java.lang.Class |
getMyClass()
Get the class for all objects in my list. |
void |
mergeObjects(GenericObjectList mergeList)
Do a merge of the GenericObjects contained in this list with the GenericObjects in the mergeList. |
GenericObject |
next()
returns the next element |
GenericObject |
next(java.util.ListIterator li)
returns the next element |
void |
replace(java.lang.String objectText,
GenericObject replacementObject,
boolean matchSubstring)
Do a recursive find and replace of objects. |
void |
replace(java.lang.String objectText,
GenericObjectList replacementObject,
boolean matchSubstring)
Do a recursive find and replace of objects in this list. |
void |
setMyClass(java.lang.Class cl)
set the class |
java.lang.String |
toString()
Encode this to a string. |
クラス gov.nist.core.GenericObjectList から継承されたメソッド |
---|
add, addFirst, debugDump, encode, equals, getIterator, isMySubclass, match, replace, replace, setSeparator |
クラス java.util.LinkedList から継承されたメソッド |
---|
add, addAll, addAll, addLast, clear, contains, element, get, getFirst, getLast, indexOf, lastIndexOf, listIterator, offer, peek, poll, remove, remove, remove, removeFirst, removeLast, set, size, toArray, toArray |
クラス java.util.AbstractSequentialList から継承されたメソッド |
---|
iterator |
クラス java.util.AbstractList から継承されたメソッド |
---|
hashCode, listIterator, subList |
クラス java.util.AbstractCollection から継承されたメソッド |
---|
containsAll, isEmpty, removeAll, retainAll |
クラス java.lang.Object から継承されたメソッド |
---|
getClass, notify, notifyAll, wait, wait, wait |
インタフェース java.util.List から継承されたメソッド |
---|
containsAll, hashCode, isEmpty, iterator, listIterator, removeAll, retainAll, subList |
コンストラクタの詳細 |
---|
public NetObjectList(java.lang.String lname)
lname
- String to setpublic NetObjectList(java.lang.String lname, java.lang.Class cname)
lname
- String to setcname
- Class to setpublic NetObjectList(java.lang.String lname, java.lang.String cname)
lname
- String to setcname
- String to setpublic NetObjectList()
メソッドの詳細 |
---|
public void add(NetObject obj)
obj
- NetObject to setpublic void concatenate(NetObjectList net_obj_list)
net_obj_list
- NetObjectList to setpublic java.lang.Object clone()
GenericObjectList
内の clone
public void mergeObjects(GenericObjectList mergeList)
GenericObjectList
内の mergeObjects
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 GenericObject first()
public java.lang.Class getMyClass()
GenericObjectList
内の getMyClass
public GenericObject next()
public GenericObject next(java.util.ListIterator li)
li
- ListIterator to set
public void replace(java.lang.String objectText, GenericObject replacementObject, boolean matchSubstring) throws java.lang.IllegalArgumentException
GenericObjectList
内の replace
objectText
- text of the object to find.replacementObject
- object to replace the target with (
in case a target is found).matchSubstring
- boolean that indicates whether to flag a
match when objectText is a substring of a candidate object's
encoded text.
java.lang.IllegalArgumentException
- on null args and if replacementObject
does not derive from GenericObject or GenericObjectListpublic void replace(java.lang.String objectText, GenericObjectList replacementObject, boolean matchSubstring) throws java.lang.IllegalArgumentException
GenericObjectList
内の replace
objectText
- text of the object to find.replacementObject
- object to replace the target with (in
case a target is found).matchSubstring
- boolean that indicates whether to flag a
match when objectText is a substring of a candidate object's
encoded text.
java.lang.IllegalArgumentException
- on null args and if replacementObject
does not derive from GenericObject or GenericObjectListpublic void setMyClass(java.lang.Class cl)
GenericObjectList
内の setMyClass
cl
- Class to setpublic java.lang.String debugDump(int indent)
GenericObjectList
内の debugDump
indent
- int to set
public java.lang.String toString()
GenericObjectList
内の toString
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |