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 TypeMethodDescriptionboolean
boolean
addAll
(Collection<? extends T> newObjects) void
clear()
boolean
boolean
containsAll
(Collection<?> objects) inner()
boolean
isEmpty()
boolean
boolean
removeAll
(Collection<?> objects) boolean
retainAll
(Collection<?> objects) int
size()
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, valueForm
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
equals, hashCode, iterator, parallelStream, removeIf, spliterator, stream, toArray
-
Constructor Details
-
ValueCollection
-
-
Method Details
-
inner
- Overrides:
inner
in classValueIterable<T>
-
valueForm
- Overrides:
valueForm
in classValueIterable<T>
-
valueClass
- Overrides:
valueClass
in classValueIterable<T>
-
isEmpty
public boolean isEmpty()- Specified by:
isEmpty
in interfaceCollection<T>
-
size
public int size()- Specified by:
size
in interfaceCollection<T>
-
contains
- Specified by:
contains
in interfaceCollection<T>
-
containsAll
- Specified by:
containsAll
in interfaceCollection<T>
-
add
- Specified by:
add
in interfaceCollection<T>
-
addAll
- Specified by:
addAll
in interfaceCollection<T>
-
remove
- Specified by:
remove
in interfaceCollection<T>
-
removeAll
- Specified by:
removeAll
in interfaceCollection<T>
-
retainAll
- Specified by:
retainAll
in interfaceCollection<T>
-
clear
public void clear()- Specified by:
clear
in interfaceCollection<T>
-
toArray
- Specified by:
toArray
in interfaceCollection<T>
-
toArray
public <T2> T2[] toArray(T2[] a) - Specified by:
toArray
in interfaceCollection<T>
-
toString
-