public class

KeyedList

extends Object
java.lang.Object
   ↳ com.microstrategy.utils.KeyedList<T extends com.microstrategy.utils.KeyedObject>

Summary

Public Constructors
KeyedList()
KeyedList(Comparator comparator)
Public Methods
void add(T ob, Object beforeKey)
void add(T ob)
void add(int index, T ob)
void add(KeyedList<T> list)
void clear()
boolean containsKey(Object key)
boolean containsObject(KeyedObject ob)
Enumeration<T> elements()
T get(int index)
T get(Object key)
List<T> getList()
int indexOf(Object ob)
int indexOfKey(Object key)
boolean isEmpty()
Iterator<T> iterator()
Set keySet()
void moveByKey(Object key, Object keyBefore)
int moveByOffset(String key, int offset)
void moveTo(String key, int position)
Object put(T ob)
boolean remove(KeyedObject ob)
T remove(int index)
T removeByKey(Object key)
T replace(T ob)
void set(int index, T ob)
int size()
void sort(Comparator comparator)
static <X extends KeyedObject> KeyedList<X> unmodifieable(KeyedList<X> list)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public KeyedList ()

public KeyedList (Comparator comparator)

Public Methods

public void add (T ob, Object beforeKey)

public void add (T ob)

public void add (int index, T ob)

public void add (KeyedList<T> list)

public void clear ()

public boolean containsKey (Object key)

public boolean containsObject (KeyedObject ob)

public Enumeration<T> elements ()

public T get (int index)

public T get (Object key)

public List<T> getList ()

public int indexOf (Object ob)

public int indexOfKey (Object key)

public boolean isEmpty ()

public Iterator<T> iterator ()

public Set keySet ()

public void moveByKey (Object key, Object keyBefore)

public int moveByOffset (String key, int offset)

public void moveTo (String key, int position)

public Object put (T ob)

public boolean remove (KeyedObject ob)

public T remove (int index)

public T removeByKey (Object key)

public T replace (T ob)

public void set (int index, T ob)

public int size ()

public void sort (Comparator comparator)

public static KeyedList<X> unmodifieable (KeyedList<X> list)