|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectjava.util.AbstractCollection
java.util.AbstractList
java.util.AbstractSequentialList
java.util.LinkedList
gov.nist.core.GenericObjectList
gov.nist.core.NameValueList
public class NameValueList
Implements a simple NameValue association with a quick lookup function (via a hash table) this class is not thread safe because it uses HashTables.
コンストラクタの概要 | |
---|---|
NameValueList()
default constructor. |
|
NameValueList(java.lang.String listName)
|
メソッドの概要 | |
---|---|
void |
add(NameValue nv)
|
void |
add(java.lang.String name,
java.lang.Object obj)
Add a name value record to this list. |
java.lang.Object |
clone()
Implement the clone method. |
boolean |
delete(java.lang.String name)
Remove the element corresponding to this name. |
boolean |
equals(java.lang.Object otherObject)
Compare if two NameValue lists are equal. |
java.util.Iterator |
getIterator()
Get the list iterator for this list. |
java.util.Iterator |
getNames()
Get a list of parameter names. |
NameValue |
getNameValue(java.lang.String name)
Get the NameValue record given a name. |
java.lang.String |
getParameter(java.lang.String name)
Get the parameter as a String. |
java.lang.Object |
getValue(java.lang.String name)
Do a lookup on a given name and return value associated with it. |
boolean |
hasNameValue(java.lang.String name)
Returns a boolean telling if this NameValueList has a record with this name |
void |
set(NameValue nv)
Set a namevalue object in this list. |
void |
set(java.lang.String name,
java.lang.Object value)
Set a namevalue object in this list. |
クラス gov.nist.core.GenericObjectList から継承されたメソッド |
---|
add, addFirst, debugDump, debugDump, encode, getMyClass, isMySubclass, match, mergeObjects, replace, replace, replace, replace, setMyClass, setSeparator, toString |
クラス 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 NameValueList(java.lang.String listName)
public NameValueList()
メソッドの詳細 |
---|
public void add(NameValue nv)
public void set(NameValue nv)
public void set(java.lang.String name, java.lang.Object value)
public void add(java.lang.String name, java.lang.Object obj)
public boolean equals(java.lang.Object otherObject)
java.util.Collection
内の equals
java.util.List
内の equals
GenericObjectList
内の equals
otherObject
- is the object to compare to.
public java.lang.Object getValue(java.lang.String name)
public NameValue getNameValue(java.lang.String name)
public boolean hasNameValue(java.lang.String name)
public boolean delete(java.lang.String name)
public java.util.Iterator getIterator()
GenericObjectList
内の getIterator
public java.util.Iterator getNames()
public java.lang.Object clone()
GenericObjectList
の記述:
GenericObjectList
内の clone
public java.lang.String getParameter(java.lang.String name)
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |