Class FlatCollections.CollectionFromII<T,E>
java.lang.Object
java.util.AbstractCollection<E>
net.imglib2.util.FlatCollections.CollectionFromII<T,E>
- All Implemented Interfaces:
Iterable<E>, Collection<E>
- Enclosing class:
FlatCollections
An
IterableInterval expressed as a Collection.-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateCollectionFromII(IterableInterval<T> image, Function<T, E> converter) -
Method Summary
Methods inherited from class AbstractCollection
add, addAll, clear, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Collection
equals, hashCode, parallelStream, removeIf, spliterator, stream, toArray
-
Field Details
-
image
-
converter
-
size
private final int size
-
-
Constructor Details
-
CollectionFromII
-
-
Method Details
-
size
public int size()- Specified by:
sizein interfaceCollection<T>- Specified by:
sizein classAbstractCollection<E>
-
iterator
-