Package org.neo4j.graphalgo.core.utils
Class LazyMappingCollection<T,U>
- java.lang.Object
-
- java.util.AbstractCollection<U>
-
- org.neo4j.graphalgo.core.utils.LazyMappingCollection<T,U>
-
- All Implemented Interfaces:
java.lang.Iterable<U>
,java.util.Collection<U>
public final class LazyMappingCollection<T,U> extends java.util.AbstractCollection<U>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Iterator<U>
iterator()
static <T,U>
java.util.Collection<U>of(java.util.Collection<T> base, java.util.function.Function<T,U> mappingFunction)
int
size()
-
Methods inherited from class java.util.AbstractCollection
add, addAll, clear, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
of
public static <T,U> java.util.Collection<U> of(java.util.Collection<T> base, java.util.function.Function<T,U> mappingFunction)
-
iterator
public java.util.Iterator<U> iterator()
-
-