Skip navigation links
Neo4j
A C E F G H I J K L M N O P R S T U V 

A

accept(V) - Method in interface org.neo4j.helpers.collection.Visitable
 
add(T) - Method in class org.neo4j.helpers.collection.CachingIterator
Not supported by this implement.
add(T) - Method in class org.neo4j.helpers.collection.MultiSet
 
addAll(C, Iterable<? extends T>) - Static method in class org.neo4j.helpers.collection.Iterables
 
addToCollection(Iterable<T>, C) - Static method in class org.neo4j.helpers.collection.Iterables
Adds all the items in iterator to collection.
addToCollection(Iterator<T>, C) - Static method in class org.neo4j.helpers.collection.Iterators
Adds all the items in iterator to collection.
addToCollectionUnique(Iterator<T>, C) - Static method in class org.neo4j.helpers.collection.Iterators
Adds all the items in iterator to collection.
addToCollectionUnique(Iterable<T>, C) - Static method in class org.neo4j.helpers.collection.Iterators
Adds all the items in iterator to collection.
append(C, Iterable<T>) - Static method in class org.neo4j.helpers.collection.Iterables
 
array(T...) - Static method in class org.neo4j.helpers.collection.Iterators
 
ArrayIterator<T> - Class in org.neo4j.helpers.collection
 
ArrayIterator(T[]) - Constructor for class org.neo4j.helpers.collection.ArrayIterator
 
asArray(Iterable<Object>) - Static method in class org.neo4j.helpers.collection.Iterables
 
asArray(Class<T>, Iterable<T>) - Static method in class org.neo4j.helpers.collection.Iterables
 
asCollection(Iterable<T>) - Static method in class org.neo4j.helpers.collection.Iterables
Creates a collection from an iterable.
asCollection(Iterator<T>) - Static method in class org.neo4j.helpers.collection.Iterators
 
asIterable(long...) - Static method in class org.neo4j.helpers.collection.Iterables
 
asIterable(int...) - Static method in class org.neo4j.helpers.collection.Iterables
 
asIterable(T...) - Static method in class org.neo4j.helpers.collection.Iterables
 
asIterable(Iterator<T>) - Static method in class org.neo4j.helpers.collection.Iterators
Exposes iterator as an Iterable.
asIterator(long...) - Static method in class org.neo4j.helpers.collection.Iterators
 
asIterator(int...) - Static method in class org.neo4j.helpers.collection.Iterators
 
asIterator(int, T...) - Static method in class org.neo4j.helpers.collection.Iterators
 
asList(Iterable<T>) - Static method in class org.neo4j.helpers.collection.Iterables
 
asList(Iterator<T>) - Static method in class org.neo4j.helpers.collection.Iterators
 
asList(RawIterator<T, EX>) - Static method in class org.neo4j.helpers.collection.Iterators
 
asMap(Iterable<Pair<T, U>>) - Static method in class org.neo4j.helpers.collection.Iterables
 
asRawIterator(Iterator<T>) - Static method in class org.neo4j.helpers.collection.Iterators
 
asResourceIterable(Iterable<T>) - Static method in class org.neo4j.helpers.collection.Iterables
 
asResourceIterable(ResourceIterator<T>) - Static method in class org.neo4j.helpers.collection.Iterators
 
asResourceIterator(Iterator<T>) - Static method in class org.neo4j.helpers.collection.Iterators
 
asSet(Iterable<T>) - Static method in class org.neo4j.helpers.collection.Iterables
Creates a Set from an Iterable.
asSet(Iterator<T>) - Static method in class org.neo4j.helpers.collection.Iterators
 
asSet(T...) - Static method in class org.neo4j.helpers.collection.Iterators
Creates a Set from an array of items.an
asUniqueSet(Iterable<T>) - Static method in class org.neo4j.helpers.collection.Iterables
Creates a Set from an Iterable.
asUniqueSet(T...) - Static method in class org.neo4j.helpers.collection.Iterators
Creates a Set from an array of items.
asUniqueSet(Iterator<T>) - Static method in class org.neo4j.helpers.collection.Iterators
Creates a Set from an array of items.

C

cache(Iterable<T>) - Static method in class org.neo4j.helpers.collection.Iterables
 
CachingIterator<T> - Class in org.neo4j.helpers.collection
An Iterator which lazily fetches and caches items from the underlying iterator when items are requested.
CachingIterator(Iterator<T>) - Constructor for class org.neo4j.helpers.collection.CachingIterator
Creates a new caching iterator using source as its underlying Iterator to get items lazily from.
cast(Iterable<C>) - Static method in class org.neo4j.helpers.collection.Iterables
 
CastingIterator<T extends A,A> - Class in org.neo4j.helpers.collection
An iterator which filters for elements of a given subtype, and casts to this type.
CastingIterator(Iterator<A>, Class<T>) - Constructor for class org.neo4j.helpers.collection.CastingIterator
 
castOrNull(Class<T>, Class<F>, Object) - Static method in class org.neo4j.helpers.collection.Visitor.SafeGenerics
Useful for determining "is this an object that can visit the things I can provide?" Checks if the passed in object is a Visitor and if the objects it can visit is compatible (super type of) with the provided type.
CatchingIteratorWrapper<T,U> - Class in org.neo4j.helpers.collection
 
CatchingIteratorWrapper(Iterator<U>) - Constructor for class org.neo4j.helpers.collection.CatchingIteratorWrapper
 
clear() - Method in class org.neo4j.helpers.collection.LruCache
 
clear() - Method in class org.neo4j.helpers.collection.MultiSet
 
close() - Method in class org.neo4j.helpers.collection.CombiningResourceIterator
 
close() - Method in class org.neo4j.helpers.collection.LimitingResourceIterator
 
close() - Method in class org.neo4j.helpers.collection.MappingResourceIterator
 
close() - Method in class org.neo4j.helpers.collection.NestingResourceIterator
 
close() - Method in class org.neo4j.helpers.collection.ResourceClosingIterator
 
CombiningIterable<T> - Class in org.neo4j.helpers.collection
Combining one or more Iterables, making them look like they were one big iterable.
CombiningIterable(Iterable<Iterable<T>>) - Constructor for class org.neo4j.helpers.collection.CombiningIterable
 
CombiningIterator<T> - Class in org.neo4j.helpers.collection
Combining one or more Iterators, making them look like they were one big iterator.
CombiningIterator(Iterable<? extends Iterator<T>>) - Constructor for class org.neo4j.helpers.collection.CombiningIterator
 
CombiningIterator(Iterator<? extends Iterator<T>>) - Constructor for class org.neo4j.helpers.collection.CombiningIterator
 
CombiningIterator(T, Iterator<T>) - Constructor for class org.neo4j.helpers.collection.CombiningIterator
 
CombiningResourceIterator<T> - Class in org.neo4j.helpers.collection
 
CombiningResourceIterator(Iterator<ResourceIterator<T>>) - Constructor for class org.neo4j.helpers.collection.CombiningResourceIterator
 
concat(Iterable<? extends T>...) - Static method in class org.neo4j.helpers.collection.Iterables
 
concat(Iterable<Iterable<T>>) - Static method in class org.neo4j.helpers.collection.Iterables
 
concat(Iterator<? extends T>...) - Static method in class org.neo4j.helpers.collection.Iterators
 
concat(Iterator<Iterator<T>>) - Static method in class org.neo4j.helpers.collection.Iterators
 
concatResourceIterators(Iterator<ResourceIterator<T>>) - Static method in class org.neo4j.helpers.collection.Iterators
 
contains(Iterator<T>, T) - Static method in class org.neo4j.helpers.collection.Iterators
 
contains(T) - Method in class org.neo4j.helpers.collection.MultiSet
 
copyAndPut(Map<K, V>, K, V) - Static method in class org.neo4j.helpers.collection.MapUtil
 
copyAndRemove(Map<K, V>, K) - Static method in class org.neo4j.helpers.collection.MapUtil
 
count(Iterable<T>) - Static method in class org.neo4j.helpers.collection.Iterables
Counts the number of items in the iterator by looping through it.
count(Iterable<T>, Predicate<T>) - Static method in class org.neo4j.helpers.collection.Iterables
Counts the number of filtered items in the iterable by looping through it.
count(Iterator<T>) - Static method in class org.neo4j.helpers.collection.Iterators
 
count(Iterator<T>, Predicate<T>) - Static method in class org.neo4j.helpers.collection.Iterators
Counts the number of filtered in the iterator by looping through it.
count(T) - Method in class org.neo4j.helpers.collection.MultiSet
 
create() - Method in class org.neo4j.helpers.collection.MapUtil.MapBuilder
 
current() - Method in class org.neo4j.helpers.collection.CachingIterator
Returns the last item returned by CachingIterator.next()/CachingIterator.previous().
current() - Method in class org.neo4j.helpers.collection.PositionedIterator
Returns the current node.

E

elementCleaned(E) - Method in class org.neo4j.helpers.collection.LruCache
 
empty() - Static method in class org.neo4j.helpers.collection.Iterables
 
empty() - Static method in class org.neo4j.helpers.collection.Pair
 
emptyResourceIterable() - Static method in class org.neo4j.helpers.collection.Iterables
 
emptyResourceIterator() - Static method in class org.neo4j.helpers.collection.Iterators
 
entry(K, V) - Static method in class org.neo4j.helpers.collection.MapUtil
 
entry(K, V) - Method in class org.neo4j.helpers.collection.MapUtil.MapBuilder
 
entrySet() - Method in class org.neo4j.helpers.collection.MultiSet
 
enumNames(Class<T>) - Static method in class org.neo4j.helpers.collection.Iterables
 
equals(Object) - Method in class org.neo4j.helpers.collection.MultiSet
 
equals(Object) - Method in class org.neo4j.helpers.collection.Pair
 
ExceptionHandlingIterable<T> - Class in org.neo4j.helpers.collection
allows to catch, analyze and react on exceptions that are thrown by the delegate iterable useful for exception conversion on iterator methods Uses sun.misc.Unsafe internally to rethrow original exceptions !
ExceptionHandlingIterable(Iterable<T>) - Constructor for class org.neo4j.helpers.collection.ExceptionHandlingIterable
 

F

filter(Predicate<? super X>, Iterable<X>) - Static method in class org.neo4j.helpers.collection.Iterables
 
filter(Predicate<? super X>, Iterator<X>) - Static method in class org.neo4j.helpers.collection.Iterators
 
FilteringIterable<T> - Class in org.neo4j.helpers.collection
An iterable which filters another iterable, only letting items with certain criteria pass through.
FilteringIterable(Iterable<T>, Predicate<T>) - Constructor for class org.neo4j.helpers.collection.FilteringIterable
 
FilteringIterator<T> - Class in org.neo4j.helpers.collection
An iterator which filters another iterator, only letting items with certain criteria pass through.
FilteringIterator(Iterator<T>, Predicate<T>) - Constructor for class org.neo4j.helpers.collection.FilteringIterator
 
first(Iterable<T>) - Static method in class org.neo4j.helpers.collection.Iterables
Returns the given iterable's first element.
first(Iterator<T>) - Static method in class org.neo4j.helpers.collection.Iterators
Returns the given iterator's first element.
first() - Method in class org.neo4j.helpers.collection.Pair
 
FirstItemIterable<T> - Class in org.neo4j.helpers.collection
Wraps the given iterator but keeps the first item to allow later access to it, like CachingIterator but with less memory overhead.
FirstItemIterable(Iterable<T>) - Constructor for class org.neo4j.helpers.collection.FirstItemIterable
 
FirstItemIterable(Iterator<T>) - Constructor for class org.neo4j.helpers.collection.FirstItemIterable
 
firstOrNull(Iterable<T>) - Static method in class org.neo4j.helpers.collection.Iterables
Returns the given iterable's first element or null if no element found.
firstOrNull(Iterator<T>) - Static method in class org.neo4j.helpers.collection.Iterators
Returns the given iterator's first element or null if no element found.
flatMap(Function<? super FROM, ? extends Iterable<TO>>, Iterable<FROM>) - Static method in class org.neo4j.helpers.collection.Iterables
 
flatMap(Function<? super FROM, ? extends Iterator<TO>>, Iterator<FROM>) - Static method in class org.neo4j.helpers.collection.Iterators
 
flatten(I...) - Static method in class org.neo4j.helpers.collection.Iterables
 
flattenIterable(I) - Static method in class org.neo4j.helpers.collection.Iterables
 
fromEnd(Iterable<T>, int) - Static method in class org.neo4j.helpers.collection.Iterables
Returns the iterator's n:th item from the end of the iteration.
fromEnd(Iterator<T>, int) - Static method in class org.neo4j.helpers.collection.Iterators
Returns the iterator's n:th item from the end of the iteration.
fromEndOrNull(Iterator<T>, int) - Static method in class org.neo4j.helpers.collection.Iterators
Returns the iterator's n:th item from the end of the iteration.

G

genericMap(Object...) - Static method in class org.neo4j.helpers.collection.MapUtil
A short-hand method for creating a Map of key/value pairs.
genericMap(Map<K, V>, Object...) - Static method in class org.neo4j.helpers.collection.MapUtil
A short-hand method for adding key/value pairs into a Map.
get(K) - Method in class org.neo4j.helpers.collection.LruCache
 
getCurrentSurfaceItem() - Method in class org.neo4j.helpers.collection.NestingIterator
 
getFirst() - Method in class org.neo4j.helpers.collection.FirstItemIterable
 
getName() - Method in class org.neo4j.helpers.collection.LruCache
 

H

hashCode() - Method in class org.neo4j.helpers.collection.MultiSet
 
hashCode() - Method in class org.neo4j.helpers.collection.Pair
 
hasNext() - Method in class org.neo4j.helpers.collection.ArrayIterator
 
hasNext() - Method in class org.neo4j.helpers.collection.CachingIterator
Returns whether a call to CachingIterator.next() will be able to return an item or not.
hasNext() - Method in class org.neo4j.helpers.collection.IteratorWrapper
 
hasNext() - Method in class org.neo4j.helpers.collection.MappingResourceIterator
 
hasNext() - Method in class org.neo4j.helpers.collection.PositionedIterator
 
hasNext() - Method in class org.neo4j.helpers.collection.PrefetchingIterator
 
hasNext() - Method in class org.neo4j.helpers.collection.ResourceClosingIterator
 
hasNext() - Method in class org.neo4j.helpers.collection.ReverseArrayIterator
 
hasPrevious() - Method in class org.neo4j.helpers.collection.CachingIterator
Returns whether or not a call to CachingIterator.previous() will be able to return an item or not.

I

increment(T, long) - Method in class org.neo4j.helpers.collection.MultiSet
 
indexOf(T, Iterable<T>) - Static method in class org.neo4j.helpers.collection.Iterables
Returns the index of the first occurrence of the specified element in this iterable, or -1 if this iterable does not contain the element.
isEmpty() - Method in class org.neo4j.helpers.collection.MultiSet
 
iterable(C...) - Static method in class org.neo4j.helpers.collection.Iterables
 
Iterables - Class in org.neo4j.helpers.collection
 
IterableWrapper<T,U> - Class in org.neo4j.helpers.collection
Wraps an Iterable so that it returns items of another type.
IterableWrapper(Iterable<U>) - Constructor for class org.neo4j.helpers.collection.IterableWrapper
 
iterator() - Method in class org.neo4j.helpers.collection.CombiningIterable
 
iterator() - Method in class org.neo4j.helpers.collection.ExceptionHandlingIterable
 
iterator() - Method in class org.neo4j.helpers.collection.FilteringIterable
 
iterator() - Method in class org.neo4j.helpers.collection.FirstItemIterable
 
iterator() - Method in class org.neo4j.helpers.collection.IterableWrapper
 
iterator(T) - Static method in class org.neo4j.helpers.collection.Iterators
 
iterator(T...) - Static method in class org.neo4j.helpers.collection.Iterators
 
iterator(int, T...) - Static method in class org.neo4j.helpers.collection.Iterators
 
iterator() - Method in class org.neo4j.helpers.collection.LimitingResourceIterable
 
iterator() - Method in class org.neo4j.helpers.collection.NestingIterable
 
iterator() - Method in class org.neo4j.helpers.collection.ResourceIterableWrapper
 
Iterators - Class in org.neo4j.helpers.collection
Contains common functionality regarding Iterators and Iterables.
Iterators() - Constructor for class org.neo4j.helpers.collection.Iterators
 
iteratorsEqual(Iterator<?>, Iterator<?>) - Static method in class org.neo4j.helpers.collection.Iterators
Iterates over the full iterators, and checks equality for each item in them.
IteratorWrapper<T,U> - Class in org.neo4j.helpers.collection
Wraps an Iterator so that it returns items of another type.
IteratorWrapper(Iterator<U>) - Constructor for class org.neo4j.helpers.collection.IteratorWrapper
 

J

join(String, Iterable<?>) - Static method in class org.neo4j.helpers.collection.Iterables
 
join(String, Iterator<?>) - Static method in class org.neo4j.helpers.collection.Iterators
 

K

keySet() - Method in class org.neo4j.helpers.collection.LruCache
 

L

last(Iterable<T>) - Static method in class org.neo4j.helpers.collection.Iterables
Returns the given iterable's last element.
last(Iterator<T>) - Static method in class org.neo4j.helpers.collection.Iterators
Returns the given iterator's last element.
lastOrNull(Iterable<T>) - Static method in class org.neo4j.helpers.collection.Iterables
Returns the given iterable's last element or null if no element found.
lastOrNull(Iterator<T>) - Static method in class org.neo4j.helpers.collection.Iterators
Returns the given iterator's last element or null if no element found.
limit(int, Iterable<T>) - Static method in class org.neo4j.helpers.collection.Iterables
 
limit(int) - Static method in class org.neo4j.helpers.collection.Iterables
 
LimitingResourceIterable<T> - Class in org.neo4j.helpers.collection
Limits the amount of items returned by an ResourceIterable, or rather ResourceIterators spawned from it.
LimitingResourceIterable(ResourceIterable<T>, int) - Constructor for class org.neo4j.helpers.collection.LimitingResourceIterable
Instantiates a new limiting Iterable which can limit the number of items returned from iterators it spawns.
LimitingResourceIterator<T> - Class in org.neo4j.helpers.collection
Limits the amount of items returned by an Iterator.
LimitingResourceIterator(ResourceIterator<T>, int) - Constructor for class org.neo4j.helpers.collection.LimitingResourceIterator
Instantiates a new limiting iterator which iterates over source and if limit items have been returned the next PrefetchingIterator.hasNext() will return false.
limitReached() - Method in class org.neo4j.helpers.collection.LimitingResourceIterator
 
load(Reader) - Static method in class org.neo4j.helpers.collection.MapUtil
Loads a Map from a Reader assuming strings as keys and values.
load(InputStream) - Static method in class org.neo4j.helpers.collection.MapUtil
Loads a Map from an InputStream assuming strings as keys and values.
load(File) - Static method in class org.neo4j.helpers.collection.MapUtil
Loads a Map from a File assuming strings as keys and values.
loadStrictly(Reader) - Static method in class org.neo4j.helpers.collection.MapUtil
Loads a Map from a Reader assuming strings as keys and values.
loadStrictly(InputStream) - Static method in class org.neo4j.helpers.collection.MapUtil
Loads a Map from an InputStream assuming strings as keys and values.
loop(Iterator<T>) - Static method in class org.neo4j.helpers.collection.Iterators
Convenience method for looping over an Iterator.
LruCache<K,E> - Class in org.neo4j.helpers.collection
Simple implementation of Least-recently-used cache.
LruCache(String, int) - Constructor for class org.neo4j.helpers.collection.LruCache
Creates a LRU cache.

M

map(Function<? super FROM, ? extends TO>, Iterable<FROM>) - Static method in class org.neo4j.helpers.collection.Iterables
 
map(Function<? super FROM, ? extends TO>, Iterator<FROM>) - Static method in class org.neo4j.helpers.collection.Iterators
 
map(ThrowingFunction<? super FROM, ? extends TO, EX>, RawIterator<FROM, EX>) - Static method in class org.neo4j.helpers.collection.Iterators
 
map(Object...) - Static method in class org.neo4j.helpers.collection.MapUtil
A short-hand method for creating a Map of key/value pairs where keys are Strings and values are Objects.
map(Map<String, Object>, Object...) - Static method in class org.neo4j.helpers.collection.MapUtil
A short-hand method for creating a Map of key/value pairs where keys are Strings and values are Objects.
map(T) - Method in class org.neo4j.helpers.collection.ResourceClosingIterator
 
MapBuilder() - Constructor for class org.neo4j.helpers.collection.MapUtil.MapBuilder
 
MappingResourceIterator<T,S> - Class in org.neo4j.helpers.collection
 
MappingResourceIterator(ResourceIterator<S>) - Constructor for class org.neo4j.helpers.collection.MappingResourceIterator
 
MapUtil - Class in org.neo4j.helpers.collection
Utility to create Maps.
MapUtil() - Constructor for class org.neo4j.helpers.collection.MapUtil
 
MapUtil.MapBuilder<K,V> - Class in org.neo4j.helpers.collection
 
maxSize() - Method in class org.neo4j.helpers.collection.LruCache
Returns the maximum size of this cache.
mix(Iterable<T>...) - Static method in class org.neo4j.helpers.collection.Iterables
 
MultiSet<T> - Class in org.neo4j.helpers.collection
 
MultiSet() - Constructor for class org.neo4j.helpers.collection.MultiSet
 
MultiSet(int) - Constructor for class org.neo4j.helpers.collection.MultiSet
 

N

NestingIterable<T,U> - Class in org.neo4j.helpers.collection
Concatenates sub-iterables of an iterable.
NestingIterable(Iterable<U>) - Constructor for class org.neo4j.helpers.collection.NestingIterable
 
NestingIterator<T,U> - Class in org.neo4j.helpers.collection
Concatenates sub-iterators of an iterator.
NestingIterator(Iterator<U>) - Constructor for class org.neo4j.helpers.collection.NestingIterator
 
NestingResourceIterator<T,U> - Class in org.neo4j.helpers.collection
 
NestingResourceIterator(Iterator<U>) - Constructor for class org.neo4j.helpers.collection.NestingResourceIterator
 
newResourceIterator(Resource, Iterator<R>) - Static method in class org.neo4j.helpers.collection.ResourceClosingIterator
newResourceIterator(Iterator<R>, Resource...) - Static method in class org.neo4j.helpers.collection.ResourceClosingIterator
 
next() - Method in class org.neo4j.helpers.collection.ArrayIterator
 
next() - Method in class org.neo4j.helpers.collection.CachingIterator
Returns the next item given the current CachingIterator.position().
next() - Method in class org.neo4j.helpers.collection.IteratorWrapper
 
next() - Method in class org.neo4j.helpers.collection.MappingResourceIterator
 
next() - Method in class org.neo4j.helpers.collection.PositionedIterator
 
next() - Method in class org.neo4j.helpers.collection.PrefetchingIterator
Uses PrefetchingIterator.hasNext() to try to fetch the next item and returns it if found, otherwise it throws a NoSuchElementException.
next() - Method in class org.neo4j.helpers.collection.ResourceClosingIterator
 
next() - Method in class org.neo4j.helpers.collection.ReverseArrayIterator
 
nextIndex() - Method in class org.neo4j.helpers.collection.CachingIterator
nextPage() - Method in class org.neo4j.helpers.collection.PagingIterator
Returns a new Iterator instance which exposes the current page as its own iterator, which fetches items lazily from the underlying iterator.
noDuplicates(Iterable<T>) - Static method in class org.neo4j.helpers.collection.FilteringIterable
 
noDuplicates(Iterator<T>) - Static method in class org.neo4j.helpers.collection.FilteringIterator
 
notNull(Iterable<T>) - Static method in class org.neo4j.helpers.collection.FilteringIterable
 
notNull(Iterator<T>) - Static method in class org.neo4j.helpers.collection.FilteringIterator
 

O

of(T1, T2) - Static method in class org.neo4j.helpers.collection.Pair
option(T) - Static method in class org.neo4j.helpers.collection.Iterables
 
org.neo4j.helpers.collection - package org.neo4j.helpers.collection
Collections utilities - Iterator/Iterable utilities and creating Maps.
other() - Method in class org.neo4j.helpers.collection.Pair
 

P

page() - Method in class org.neo4j.helpers.collection.PagingIterator
 
page(int) - Method in class org.neo4j.helpers.collection.PagingIterator
Sets the current page of the iterator.
PagingIterator<T> - Class in org.neo4j.helpers.collection
A CachingIterator which can more easily divide the items into pages, where optionally each page can be seen as its own Iterator instance for convenience using PagingIterator.nextPage().
PagingIterator(Iterator<T>, int) - Constructor for class org.neo4j.helpers.collection.PagingIterator
Creates a new paging iterator with source as its underlying Iterator to lazily get items from.
Pair<T1,T2> - Class in org.neo4j.helpers.collection
Utility to handle pairs of objects.
pair(T1, T2) - Static method in class org.neo4j.helpers.collection.Pair
Create a new pair of objects.
peek() - Method in class org.neo4j.helpers.collection.PrefetchingIterator
 
position() - Method in class org.neo4j.helpers.collection.CachingIterator
Returns the current position of the iterator, initially 0.
position(int) - Method in class org.neo4j.helpers.collection.CachingIterator
Sets the position of the iterator.
PositionedIterator<T> - Class in org.neo4j.helpers.collection
Decorator class that wraps any iterator and remembers the current node.
PositionedIterator(Iterator<? extends T>) - Constructor for class org.neo4j.helpers.collection.PositionedIterator
Creates an instance of the class, wrapping iterator
prefetching(Iterator<T>) - Static method in class org.neo4j.helpers.collection.Iterators
 
PrefetchingIterator<T> - Class in org.neo4j.helpers.collection
Abstract class for how you usually implement iterators when you don't know how many objects there are (which is pretty much every time) Basically the PrefetchingIterator.hasNext() method will look up the next object and cache it.
PrefetchingIterator() - Constructor for class org.neo4j.helpers.collection.PrefetchingIterator
 
PrefetchingResourceIterator<T> - Class in org.neo4j.helpers.collection
 
PrefetchingResourceIterator() - Constructor for class org.neo4j.helpers.collection.PrefetchingResourceIterator
 
prepend(C, Iterable<T>) - Static method in class org.neo4j.helpers.collection.Iterables
 
previous() - Method in class org.neo4j.helpers.collection.CachingIterator
previousIndex() - Method in class org.neo4j.helpers.collection.CachingIterator
put(K, E) - Method in class org.neo4j.helpers.collection.LruCache
 

R

RangeIterator - Class in org.neo4j.helpers.collection
Iterates over a range, where the start value is inclusive, but the end value is exclusive.
RangeIterator(int) - Constructor for class org.neo4j.helpers.collection.RangeIterator
 
RangeIterator(int, int) - Constructor for class org.neo4j.helpers.collection.RangeIterator
 
RangeIterator(int, int, int) - Constructor for class org.neo4j.helpers.collection.RangeIterator
 
remove() - Method in class org.neo4j.helpers.collection.ArrayIterator
 
remove() - Method in class org.neo4j.helpers.collection.CachingIterator
Not supported by this implement.
remove() - Method in class org.neo4j.helpers.collection.IteratorWrapper
 
remove(K) - Method in class org.neo4j.helpers.collection.LruCache
 
remove() - Method in class org.neo4j.helpers.collection.MappingResourceIterator
 
remove(T) - Method in class org.neo4j.helpers.collection.MultiSet
 
remove() - Method in class org.neo4j.helpers.collection.PositionedIterator
 
remove() - Method in class org.neo4j.helpers.collection.PrefetchingIterator
 
remove() - Method in class org.neo4j.helpers.collection.ResourceClosingIterator
 
remove() - Method in class org.neo4j.helpers.collection.ReverseArrayIterator
 
replace(T, long) - Method in class org.neo4j.helpers.collection.MultiSet
 
resize(int) - Method in class org.neo4j.helpers.collection.LruCache
Changes the max size of the cache.
ResourceClosingIterator<T,V> - Class in org.neo4j.helpers.collection
 
resourceIterable(Iterable<T>) - Static method in class org.neo4j.helpers.collection.Iterables
 
ResourceIterableWrapper<T,U> - Class in org.neo4j.helpers.collection
Wraps an ResourceIterable so that it returns items of another type.
ResourceIterableWrapper(ResourceIterable<U>) - Constructor for class org.neo4j.helpers.collection.ResourceIterableWrapper
 
resourceIterator(Iterator<T>, Resource) - Static method in class org.neo4j.helpers.collection.Iterators
 
reverse(Iterable<X>) - Static method in class org.neo4j.helpers.collection.Iterables
 
reverse(Map<K, V>) - Static method in class org.neo4j.helpers.collection.MapUtil
Reversed a map, making the key value and the value key.
ReverseArrayIterator<T> - Class in org.neo4j.helpers.collection
 
ReverseArrayIterator(T[]) - Constructor for class org.neo4j.helpers.collection.ReverseArrayIterator
 

S

set(T) - Method in class org.neo4j.helpers.collection.CachingIterator
Not supported by this implement.
set(T...) - Static method in class org.neo4j.helpers.collection.Iterators
Alias for asSet()
single(Iterable<T>) - Static method in class org.neo4j.helpers.collection.Iterables
Returns the given iterable's single element.
single(Iterable<T>, T) - Static method in class org.neo4j.helpers.collection.Iterables
Returns the given iterable's single element or itemIfNone if no element found.
single(Iterator<T>) - Static method in class org.neo4j.helpers.collection.Iterators
Returns the given iterator's single element.
single(Iterator<T>, T) - Static method in class org.neo4j.helpers.collection.Iterators
Returns the given iterator's single element or itemIfNone if no element found.
singleOrNull(Iterable<T>) - Static method in class org.neo4j.helpers.collection.Iterables
Returns the given iterable's single element or null if no element found.
singleOrNull(Iterator<T>) - Static method in class org.neo4j.helpers.collection.Iterators
Returns the given iterator's single element or null if no element found.
size() - Method in class org.neo4j.helpers.collection.LruCache
 
size() - Method in class org.neo4j.helpers.collection.MultiSet
 
skip(int, Iterable<X>) - Static method in class org.neo4j.helpers.collection.Iterables
 
sort(Iterable<T>, Function<T, S>) - Static method in class org.neo4j.helpers.collection.Iterables
 
store(Map<String, String>, File) - Static method in class org.neo4j.helpers.collection.MapUtil
Stores the data in config into file in a standard java Properties format.
store(Map<String, String>, OutputStream) - Static method in class org.neo4j.helpers.collection.MapUtil
Stores the data in config into stream in a standard java Properties format.
store(Map<String, String>, Writer) - Static method in class org.neo4j.helpers.collection.MapUtil
Stores the data in config into writer in a standard java Properties format.
storeStrictly(Map<String, String>, File) - Static method in class org.neo4j.helpers.collection.MapUtil
Stores the data in config into file in a standard java Properties format.
storeStrictly(Map<String, String>, OutputStream) - Static method in class org.neo4j.helpers.collection.MapUtil
Stores the data in config into stream in a standard java Properties format.
storeStrictly(Map<String, String>, Writer) - Static method in class org.neo4j.helpers.collection.MapUtil
Stores the data in config into writer in a standard java Properties format.
stream(Iterable<T>) - Static method in class org.neo4j.helpers.collection.Iterables
Create a stream from the given iterable.
stream(Iterable<T>, int) - Static method in class org.neo4j.helpers.collection.Iterables
Create a stream from the given iterable with given characteristics.
stream(Iterator<T>) - Static method in class org.neo4j.helpers.collection.Iterators
Create a stream from the given iterator.
stream(Iterator<T>, int) - Static method in class org.neo4j.helpers.collection.Iterators
Create a stream from the given iterator with given characteristics.
stringMap(String...) - Static method in class org.neo4j.helpers.collection.MapUtil
A short-hand method for creating a Map of key/value pairs where both keys and values are Strings.
stringMap(Map<String, String>, String...) - Static method in class org.neo4j.helpers.collection.MapUtil
A short-hand method for creating a Map of key/value pairs where both keys and values are Strings.

T

toMap(Iterable<Pair<K, V>>) - Static method in class org.neo4j.helpers.collection.MapUtil
 
toMap(Iterator<Pair<K, V>>) - Static method in class org.neo4j.helpers.collection.MapUtil
 
toString(Iterable<?>, String) - Static method in class org.neo4j.helpers.collection.Iterables
 
toString() - Method in class org.neo4j.helpers.collection.Pair
 
trimToFlattenedList(Map<K, V>, List<T>, Function<T, Stream<K>>) - Static method in class org.neo4j.helpers.collection.MapUtil
Mutates the input map by removing entries which do not have keys in the new backing data, as extracted with the keyExtractor.
trimToList(Map<K, V>, List<T>, Function<T, K>) - Static method in class org.neo4j.helpers.collection.MapUtil
Mutates the input map by removing entries which do not have keys in the new backing data, as extracted with the keyExtractor.
trimToList(Map<K, V>, Set<K>) - Static method in class org.neo4j.helpers.collection.MapUtil
Mutates the input map by removing entries which are not in the retained set of keys.

U

unique(Iterable<T>) - Static method in class org.neo4j.helpers.collection.Iterables
 
uniqueSize() - Method in class org.neo4j.helpers.collection.MultiSet
 

V

visit(E) - Method in interface org.neo4j.helpers.collection.Visitor
Invoked for each element in a collection.
Visitable<V> - Interface in org.neo4j.helpers.collection
 
Visitor<E,FAILURE extends Exception> - Interface in org.neo4j.helpers.collection
A visitor to internalize iteration.
Visitor.SafeGenerics - Class in org.neo4j.helpers.collection
 
A C E F G H I J K L M N O P R S T U V 
Skip navigation links
Neo4j

Copyright © 2002–2018 The Neo4j Graph Database Project. All rights reserved.