cleoni.adv
Class DictSorted
java.lang.Object
cleoni.adv.ManageableObject
cleoni.adv.Dict
cleoni.adv.DictSorted
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable
public class DictSorted
- extends Dict
Sorted Dictionary object.
Uses dicotomic search.
Case-insensitive.
- See Also:
- Serialized Form
|
Constructor Summary |
DictSorted()
Creates a new instance of DictSorted |
|
Method Summary |
java.lang.Object |
get(java.lang.String key)
Gets an object |
java.lang.Object |
getIC(java.lang.String key)
|
int |
indexOf(java.lang.String key)
Searches for the first occurence of the given argument, beginning
the search at index, and testing for equality using
the equals method. |
void |
put(java.lang.String key,
java.lang.Object obj)
Adds the specified component to the end of this vector,
increasing its size by one. |
| Methods inherited from class cleoni.adv.Dict |
capacity, clear, clone, containsKey, copyInto, copyKeysInto, elementAt, elements, ensureCapacity, ensureCapacityHelper, firstElement, firstKey, getS, insertElementAt, isEmpty, keyAt, lastElement, lastKey, remove, removeAt, setElementAt, setSize, size, toSettingsPair, toString, trimToSize |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DictSorted
public DictSorted()
- Creates a new instance of DictSorted
get
public java.lang.Object get(java.lang.String key)
- Description copied from class:
Dict
- Gets an object
- Overrides:
get in class Dict
- Parameters:
key -
- Returns:
getIC
public java.lang.Object getIC(java.lang.String key)
- Overrides:
getIC in class Dict
- Parameters:
key -
- Returns:
indexOf
public int indexOf(java.lang.String key)
- Description copied from class:
Dict
- Searches for the first occurence of the given argument, beginning
the search at
index, and testing for equality using
the equals method.
- Overrides:
indexOf in class Dict
- Parameters:
key -
- Returns:
- See Also:
Object.equals(java.lang.Object)
put
public void put(java.lang.String key,
java.lang.Object obj)
- Description copied from class:
Dict
- Adds the specified component to the end of this vector,
increasing its size by one. The capacity of this vector is
increased if its size becomes greater than its capacity.
- Overrides:
put in class Dict
- Parameters:
key - obj -