java.lang.Object
swim.structure.collections.ValueIterable<T>
swim.structure.collections.ValueCollection<T>
- All Implemented Interfaces:
Iterable<T>,Collection<T>
-
Field Summary
Fields inherited from class swim.structure.collections.ValueIterable
inner, valueForm -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanaddAll(Collection<? extends T> newObjects) voidclear()booleanbooleancontainsAll(Collection<?> objects) inner()booleanisEmpty()booleanbooleanremoveAll(Collection<?> objects) booleanretainAll(Collection<?> objects) intsize()Object[]toArray()<T2> T2[]toArray(T2[] a) toString()<T2> ValueCollection<T2>valueClass(Class<T2> valueClass) <T2> ValueCollection<T2>Methods inherited from class swim.structure.collections.ValueIterable
iterator, valueFormMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
equals, hashCode, iterator, parallelStream, removeIf, spliterator, stream, toArray
-
Constructor Details
-
ValueCollection
-
-
Method Details
-
inner
- Overrides:
innerin classValueIterable<T>
-
valueForm
- Overrides:
valueFormin classValueIterable<T>
-
valueClass
- Overrides:
valueClassin classValueIterable<T>
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceCollection<T>
-
size
public int size()- Specified by:
sizein interfaceCollection<T>
-
contains
- Specified by:
containsin interfaceCollection<T>
-
containsAll
- Specified by:
containsAllin interfaceCollection<T>
-
add
- Specified by:
addin interfaceCollection<T>
-
addAll
- Specified by:
addAllin interfaceCollection<T>
-
remove
- Specified by:
removein interfaceCollection<T>
-
removeAll
- Specified by:
removeAllin interfaceCollection<T>
-
retainAll
- Specified by:
retainAllin interfaceCollection<T>
-
clear
public void clear()- Specified by:
clearin interfaceCollection<T>
-
toArray
- Specified by:
toArrayin interfaceCollection<T>
-
toArray
public <T2> T2[] toArray(T2[] a) - Specified by:
toArrayin interfaceCollection<T>
-
toString
-