info.aduna.gee.spectacle.gee
Class MetaValueList
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList
info.aduna.gee.spectacle.gee.MetaValueList
- All Implemented Interfaces:
- Serializable, Cloneable, Iterable, Collection, List, RandomAccess
public class MetaValueList
- extends ArrayList
A sorted collection of meta names plus their values.
Although it extends ArrayList, the objects in the list are opaque.
- See Also:
- Serialized Form
| Methods inherited from class java.util.ArrayList |
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, size, toArray, toArray, trimToSize |
MetaValueList
public MetaValueList()
add
public void add(String meta,
PathString values)
set
public void set(int l,
String meta,
PathString values)
getMeta
public String getMeta(int l)
getMetaIndex
public int getMetaIndex(String meta)
- Returns:
- the lowest index corresponding to meta or -1
getLastMetaIndex
public int getLastMetaIndex(String meta)
- Returns:
- the highest index corresponding to meta or -1
getValues
public PathString getValues(int l)
getPath
public PathString getPath()
getMetas
public List<String> getMetas(boolean sort)
subList
public List subList(int fromIndex,
int toIndex)
- Implementation note: we want subList to have the same type.
- Specified by:
subList in interface List- Overrides:
subList in class AbstractList
toString
public String toString()
- Override List's toString().
- Overrides:
toString in class AbstractCollection
Copyright © 1997-2008 Aduna. All Rights Reserved.