- java.lang.Object
-
- swim.structure.collections.ValueIterable<T>
-
- swim.structure.collections.ValueCollection<T>
-
- swim.structure.collections.ValueList<T>
-
- swim.structure.collections.ValueKeyedList<T>
-
- All Implemented Interfaces:
Iterable<T>,Collection<T>,List<T>,swim.util.KeyedList<T>
public class ValueKeyedList<T> extends ValueList<T> implements swim.util.KeyedList<T>
-
-
Field Summary
-
Fields inherited from class swim.structure.collections.ValueIterable
inner, valueForm
-
-
Constructor Summary
Constructors Constructor Description ValueKeyedList(swim.util.KeyedList<? extends Value> inner, Form<T> valueForm)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(int index, T newObject, Object key)booleanadd(T newObject, Object key)ListIterator<Map.Entry<Object,T>>entryIterator()Tget(int index, Object key)Map.Entry<Object,T>getEntry(int index)Map.Entry<Object,T>getEntry(int index, Object key)swim.util.KeyedList<Value>inner()ListIterator<Object>keyIterator()voidmove(int fromIndex, int toIndex)voidmove(int fromIndex, int toIndex, Object key)Tremove(int index, Object key)Tset(int index, T newObject, Object key)<T2> ValueKeyedList<T2>valueClass(Class<T2> valueClass)<T2> ValueKeyedList<T2>valueForm(Form<T2> valueForm)-
Methods inherited from class swim.structure.collections.ValueList
add, addAll, equals, get, hashCode, indexOf, lastIndexOf, listIterator, listIterator, remove, set, subList
-
Methods inherited from class swim.structure.collections.ValueCollection
add, addAll, clear, contains, containsAll, isEmpty, remove, removeAll, retainAll, size, toArray, toArray, toString
-
Methods inherited from class swim.structure.collections.ValueIterable
iterator, valueForm
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Methods inherited from interface java.util.List
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray
-
-
-
-
Method Detail
-
valueForm
public <T2> ValueKeyedList<T2> valueForm(Form<T2> valueForm)
-
valueClass
public <T2> ValueKeyedList<T2> valueClass(Class<T2> valueClass)
- Overrides:
valueClassin classValueList<T>
-
getEntry
public Map.Entry<Object,T> getEntry(int index)
- Specified by:
getEntryin interfaceswim.util.KeyedList<T>
-
getEntry
public Map.Entry<Object,T> getEntry(int index, Object key)
- Specified by:
getEntryin interfaceswim.util.KeyedList<T>
-
set
public T set(int index, T newObject, Object key)
- Specified by:
setin interfaceswim.util.KeyedList<T>
-
add
public boolean add(T newObject, Object key)
- Specified by:
addin interfaceswim.util.KeyedList<T>
-
add
public void add(int index, T newObject, Object key)- Specified by:
addin interfaceswim.util.KeyedList<T>
-
remove
public T remove(int index, Object key)
- Specified by:
removein interfaceswim.util.KeyedList<T>
-
move
public void move(int fromIndex, int toIndex)- Specified by:
movein interfaceswim.util.KeyedList<T>
-
move
public void move(int fromIndex, int toIndex, Object key)- Specified by:
movein interfaceswim.util.KeyedList<T>
-
keyIterator
public ListIterator<Object> keyIterator()
- Specified by:
keyIteratorin interfaceswim.util.KeyedList<T>
-
entryIterator
public ListIterator<Map.Entry<Object,T>> entryIterator()
- Specified by:
entryIteratorin interfaceswim.util.KeyedList<T>
-
-