- 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>
,KeyedList<T>
- Direct Known Subclasses:
ListDataView
public class ValueKeyedList<T> extends ValueList<T> implements KeyedList<T>
-
-
Field Summary
-
Fields inherited from class swim.structure.collections.ValueIterable
inner, valueForm
-
-
Constructor Summary
Constructors Constructor Description ValueKeyedList(KeyedList<? extends Value> inner, Form<T> valueForm)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(int index, T newObject, Object key)
boolean
add(T newObject, Object key)
ListIterator<Map.Entry<Object,T>>
entryIterator()
T
get(int index, Object key)
Map.Entry<Object,T>
getEntry(int index)
Map.Entry<Object,T>
getEntry(int index, Object key)
KeyedList<Value>
inner()
ListIterator<Object>
keyIterator()
void
move(int fromIndex, int toIndex)
void
move(int fromIndex, int toIndex, Object key)
T
remove(int index, Object key)
T
set(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:
valueClass
in classValueList<T>
-
move
public void move(int fromIndex, int toIndex, Object key)
-
keyIterator
public ListIterator<Object> keyIterator()
- Specified by:
keyIterator
in interfaceKeyedList<T>
-
entryIterator
public ListIterator<Map.Entry<Object,T>> entryIterator()
- Specified by:
entryIterator
in interfaceKeyedList<T>
-
-