Uses of Interface
org.javimmutable.collections.Cursor

Packages that use Cursor
org.javimmutable.collections   
org.javimmutable.collections.array.bit32   
org.javimmutable.collections.array.trie32   
org.javimmutable.collections.common   
org.javimmutable.collections.cursors   
org.javimmutable.collections.hash   
org.javimmutable.collections.inorder   
org.javimmutable.collections.iocursors   
org.javimmutable.collections.list   
org.javimmutable.collections.listmap   
org.javimmutable.collections.tree   
org.javimmutable.collections.tree_list   
org.javimmutable.collections.util   
 

Uses of Cursor in org.javimmutable.collections
 

Methods in org.javimmutable.collections that return Cursor
 Cursor<T> Cursorable.cursor()
           
 Cursor<K> JImmutableMap.keysCursor()
          Creates a Cursor to access all of the Map's keys.
 Cursor<K> JImmutableListMap.keysCursor()
          Creates a Cursor to access all of the Map's keys.
 Cursor<Integer> JImmutableArray.keysCursor()
          Creates a Cursor to access all of the Map's keys.
 Cursor<T> Cursor.next()
          Advances to the next (possibly first) value.
 Cursor<T> Cursor.start()
          All Cursors are created in a pre-start position pointing "before" the first element.
 Cursor<V> JImmutableMap.valuesCursor()
          Creates a Cursor to access all of the Map's values.
 Cursor<T> JImmutableArray.valuesCursor()
          Creates a Cursor to access all of the Map's values.
 Cursor<V> JImmutableListMap.valuesCursor(K key)
          Creates a Cursor to access all of the specified key's list.
 

Methods in org.javimmutable.collections with parameters of type Cursor
 MutableBuilder<T,C> MutableBuilder.add(Cursor<? extends T> source)
          Adds all values in the Cursor to the values included in the collection when build() is called.
 boolean JImmutableSet.containsAll(Cursor<? extends T> values)
          Determines if the Set contains all values in the specified collection.
 boolean JImmutableSet.containsAny(Cursor<? extends T> values)
          Determines if the Set contains any values in the specified collection.
 JImmutableSet<T> JImmutableSet.deleteAll(Cursor<? extends T> other)
          Removes all values of other from the Set.
 JImmutableSet<T> JImmutableSet.intersection(Cursor<? extends T> values)
          Removes all values from the Set that are not contained in the other collection.
 JImmutableSet<T> JImmutableSet.union(Cursor<? extends T> values)
          Adds all values from other to the Set.
 

Uses of Cursor in org.javimmutable.collections.array.bit32
 

Methods in org.javimmutable.collections.array.bit32 that return Cursor
 Cursor<JImmutableMap.Entry<Integer,T>> StandardBit32Array.cursor()
           
 Cursor<JImmutableMap.Entry<Integer,T>> SingleBit32Array.cursor()
           
 Cursor<JImmutableMap.Entry<Integer,T>> FullBit32Array.cursor()
           
 Cursor<JImmutableMap.Entry<Integer,T>> EmptyBit32Array.cursor()
           
 

Uses of Cursor in org.javimmutable.collections.array.trie32
 

Methods in org.javimmutable.collections.array.trie32 that return Cursor
abstract  Cursor<JImmutableMap.Entry<Integer,T>> TrieNode.anyOrderEntryCursor()
           
 Cursor<JImmutableMap.Entry<Integer,T>> SingleBranchTrieNode.anyOrderEntryCursor()
           
 Cursor<JImmutableMap.Entry<Integer,T>> MultiBranchTrieNode.anyOrderEntryCursor()
           
 Cursor<JImmutableMap.Entry<Integer,T>> LeafTrieNode.anyOrderEntryCursor()
           
 Cursor<JImmutableMap.Entry<Integer,T>> FullBranchTrieNode.anyOrderEntryCursor()
           
 Cursor<JImmutableMap.Entry<Integer,T>> EmptyTrieNode.anyOrderEntryCursor()
           
abstract
<K,V> Cursor<JImmutableMap.Entry<K,V>>
TrieNode.anyOrderEntryCursor(Transforms<T,K,V> transforms)
           
<K,V> Cursor<JImmutableMap.Entry<K,V>>
SingleBranchTrieNode.anyOrderEntryCursor(Transforms<T,K,V> transforms)
           
<K,V> Cursor<JImmutableMap.Entry<K,V>>
MultiBranchTrieNode.anyOrderEntryCursor(Transforms<T,K,V> transforms)
           
<K,V> Cursor<JImmutableMap.Entry<K,V>>
LeafTrieNode.anyOrderEntryCursor(Transforms<T,K,V> transforms)
           
<K,V> Cursor<JImmutableMap.Entry<K,V>>
FullBranchTrieNode.anyOrderEntryCursor(Transforms<T,K,V> transforms)
           
<K,V> Cursor<JImmutableMap.Entry<K,V>>
EmptyTrieNode.anyOrderEntryCursor(Transforms<T,K,V> transforms)
           
abstract  Cursor<T> TrieNode.anyOrderValueCursor()
           
 Cursor<T> SingleBranchTrieNode.anyOrderValueCursor()
           
 Cursor<T> MultiBranchTrieNode.anyOrderValueCursor()
           
 Cursor<T> LeafTrieNode.anyOrderValueCursor()
           
 Cursor<T> FullBranchTrieNode.anyOrderValueCursor()
           
 Cursor<T> EmptyTrieNode.anyOrderValueCursor()
           
 Cursor<JImmutableMap.Entry<Integer,T>> TrieArray.cursor()
           
 Cursor<JImmutableMap.Entry<K,V>> Transforms.cursor(T leaf)
          Return a (possibly empty) Cursor over all of the JImmutableMap.Entries in the specified leaf object.
 Cursor<JImmutableMap.Entry<Integer,T>> TrieNode.signedOrderEntryCursor()
           
 Cursor<JImmutableMap.Entry<Integer,T>> MultiBranchTrieNode.signedOrderEntryCursor()
           
<K,V> Cursor<JImmutableMap.Entry<K,V>>
TrieNode.signedOrderEntryCursor(Transforms<T,K,V> transforms)
           
<K,V> Cursor<JImmutableMap.Entry<K,V>>
MultiBranchTrieNode.signedOrderEntryCursor(Transforms<T,K,V> transforms)
           
 Cursor<T> TrieNode.signedOrderValueCursor()
           
 Cursor<T> MultiBranchTrieNode.signedOrderValueCursor()
           
 

Methods in org.javimmutable.collections.array.trie32 with parameters of type Cursor
 TrieArray.Builder<T> TrieArray.Builder.add(Cursor<? extends T> source)
           
 

Uses of Cursor in org.javimmutable.collections.common
 

Methods in org.javimmutable.collections.common that return Cursor
 Cursor<T> AbstractJImmutableSet.cursor()
           
 Cursor<K> AbstractJImmutableMap.keysCursor()
           
 Cursor<Integer> AbstractJImmutableArray.keysCursor()
           
 Cursor<V> AbstractJImmutableMap.valuesCursor()
           
 Cursor<T> AbstractJImmutableArray.valuesCursor()
           
 

Methods in org.javimmutable.collections.common with parameters of type Cursor
 boolean AbstractJImmutableSet.containsAll(Cursor<? extends T> values)
           
 boolean AbstractJImmutableSet.containsAny(Cursor<? extends T> values)
           
 JImmutableSet<T> AbstractJImmutableSet.deleteAll(Cursor<? extends T> values)
           
 JImmutableSet<T> AbstractJImmutableSet.intersection(Cursor<? extends T> values)
           
static
<V> IteratorAdaptor<V>
IteratorAdaptor.of(Cursor<V> cursor)
           
 JImmutableSet<T> AbstractJImmutableSet.union(Cursor<? extends T> values)
           
 

Constructors in org.javimmutable.collections.common with parameters of type Cursor
IteratorAdaptor(Cursor<T> cursor)
           
 

Uses of Cursor in org.javimmutable.collections.cursors
 

Classes in org.javimmutable.collections.cursors that implement Cursor
 class AbstractStartCursor<T>
          Base implementation for unstarted Cursor classes.
 class AbstractStartedCursor<T>
          Base class for started (i.e.
 class EmptyStartedCursor<T>
          Cursor implementation intended solely for internal use in the cursors package.
 class LazyCursor<V>
          Cursor that creates and returns a real Cursor for a specific iterable only when start() or next() is called for the first time.
 class MultiCursor<T>
          A Cursor that combines multiple Cursors into a single virtual Cursor that visits all values from all Cursors in order.
 class MultiTransformCursor<S,T>
          Cursor that produces values by visiting all values in a Cursor of objects and using a Func1 on each object to produce a Cursor that is then visited to reach all of its elements.
 class SequenceCursor<T>
           
 class SingleValueCursor<T>
          A Cursor containing exactly one value to be traversed.
 class TransformCursor<S,T>
          A Cursor that visits all values in another Cursor and transforms each value using a Func1 object.
protected static class ValueFunctionCursor.Start<T,F extends ValueFunction<T>,A extends ValueFunctionFactory<T,F>>
           
 

Methods in org.javimmutable.collections.cursors with type parameters of type Cursor
static
<T,C extends Cursor<T>>
MultiCursor<T>
MultiCursor.of(C... cursors)
           
static
<T,C extends Cursor<T>>
MultiCursor<T>
MultiCursor.of(C cursor1, C cursor2)
           
static
<T,C extends Cursor<T>>
MultiCursor<T>
MultiCursor.of(C cursor1, C cursor2, C cursor3)
           
 

Methods in org.javimmutable.collections.cursors that return Cursor
static Cursor<Integer> StandardCursor.forRange(int low, int high)
          Creates a Cursor over a range of integers.
 Cursor<T> ValueFunctionCursor.Start.next()
           
 Cursor<T> TransformCursor.next()
           
 Cursor<T> SingleValueCursor.next()
           
 Cursor<T> MultiTransformCursor.next()
           
 Cursor<T> MultiCursor.next()
           
 Cursor<V> LazyCursor.next()
          Creates the real cursor using the factory and returns its next() method's result.
 Cursor<T> EmptyStartedCursor.next()
           
 Cursor<T> AbstractStartedCursor.next()
           
 Cursor<T> AbstractStartCursor.next()
           
static
<T> Cursor<T>
StandardCursor.of()
          Creates an empty cursor that has no values.
static
<T,F extends ValueFunction<T>,A extends ValueFunctionFactory<T,F>>
Cursor<T>
ValueFunctionCursor.of(A factory)
          Produces a non-thread safe Cursor to traverse the values returned by a function.
static
<C1,C2> Cursor<Tuple2<C1,C2>>
ZipCursor.of(Cursor<C1> cursor1, Cursor<C2> cursor2)
           
static
<S,T> Cursor<T>
MultiTransformCursor.of(Cursor<S> source, Func1<S,Cursor<T>> transforminator)
           
static
<S,T> Cursor<T>
TransformCursor.of(Cursor<S> cursor, Func1<S,T> transforminator)
           
static
<T> Cursor<T>
StandardCursor.of(Indexed<T> source)
          Creates a Cursor for the given Indexed.
static
<T> Cursor<T>
IterableCursor.of(Iterable<T> iterable)
          Creates a mutable Cursor implementation that traverses the specified iterable.
static
<T> Cursor<T>
SequenceCursor.of(Sequence<T> sequence)
           
static
<T> Cursor<T>
StandardCursor.of(StandardCursor.Source<T> source)
          Creates a Cursor for the given Source.
static
<K,V> Cursor<K>
TransformCursor.ofKeys(Cursor<JImmutableMap.Entry<K,V>> cursor)
           
static
<K,V> Cursor<V>
TransformCursor.ofValues(Cursor<JImmutableMap.Entry<K,V>> cursor)
           
 Cursor<T> TransformCursor.start()
           
 Cursor<T> MultiTransformCursor.start()
           
 Cursor<T> MultiCursor.start()
           
 Cursor<T> EmptyStartedCursor.start()
           
 Cursor<T> AbstractStartedCursor.start()
           
 Cursor<T> AbstractStartCursor.start()
           
 

Methods in org.javimmutable.collections.cursors with parameters of type Cursor
 MultiCursor.Builder<T> MultiCursor.Builder.add(Cursor<T> cursor)
           
static boolean Cursors.areEqual(Cursor<?> a, Cursor<?> b)
          Return true if and only if both cursors have the same length and contain objects that are equal based on their equals() methods.
static boolean Cursors.areEqual(Cursor<?> a, Cursor<?> b)
          Return true if and only if both cursors have the same length and contain objects that are equal based on their equals() methods.
static int Cursors.computeHashCode(Cursor<?> cursor)
          Computes a hash code from the hash codes of all values in the cursor.
static
<T> List<T>
StandardCursor.makeList(Cursor<T> cursor)
          Utility method, useful in unit tests, that collects all of the values in the Cursor into a List and returns the List.
static String Cursors.makeString(Cursor<?> cursor)
           
static
<T,C extends Cursor<T>>
MultiCursor<T>
MultiCursor.of(C... cursors)
           
static
<C1,C2> Cursor<Tuple2<C1,C2>>
ZipCursor.of(Cursor<C1> cursor1, Cursor<C2> cursor2)
           
static
<C1,C2> Cursor<Tuple2<C1,C2>>
ZipCursor.of(Cursor<C1> cursor1, Cursor<C2> cursor2)
           
static
<S,T> Cursor<T>
MultiTransformCursor.of(Cursor<S> source, Func1<S,Cursor<T>> transforminator)
           
static
<S,T> Cursor<T>
TransformCursor.of(Cursor<S> cursor, Func1<S,T> transforminator)
           
static
<K,V> Cursor<K>
TransformCursor.ofKeys(Cursor<JImmutableMap.Entry<K,V>> cursor)
           
static
<K,V> Cursor<V>
TransformCursor.ofValues(Cursor<JImmutableMap.Entry<K,V>> cursor)
           
 

Method parameters in org.javimmutable.collections.cursors with type arguments of type Cursor
static
<S,T> Cursor<T>
MultiTransformCursor.of(Cursor<S> source, Func1<S,Cursor<T>> transforminator)
           
static
<V> LazyCursor<V>
LazyCursor.of(Func0<Cursor<V>> factory)
          Creates a new LazyPersistentIterator using the specified factory.
 

Constructors in org.javimmutable.collections.cursors with parameters of type Cursor
MultiCursor(Cursor<T>... cursors)
           
TransformCursor(Cursor<S> source, Func1<S,T> transforminator)
           
 

Constructor parameters in org.javimmutable.collections.cursors with type arguments of type Cursor
LazyCursor(Func0<Cursor<V>> factory)
          Creates a new LazyCursor for the specified factory.
 

Uses of Cursor in org.javimmutable.collections.hash
 

Methods in org.javimmutable.collections.hash that return Cursor
 Cursor<JImmutableMap.Entry<K,V>> JImmutableHashMap.cursor()
           
 Cursor<JImmutableMap.Entry<K,V>> EmptyHashMap.cursor()
           
 

Uses of Cursor in org.javimmutable.collections.inorder
 

Methods in org.javimmutable.collections.inorder that return Cursor
 Cursor<JImmutableMap.Entry<K,V>> JImmutableInsertOrderMap.cursor()
           
 

Uses of Cursor in org.javimmutable.collections.iocursors
 

Subinterfaces of Cursor in org.javimmutable.collections.iocursors
 interface CloseableCursor<T>
          Extension of the Cursor interface to add a close() method.
 

Uses of Cursor in org.javimmutable.collections.list
 

Methods in org.javimmutable.collections.list that return Cursor
 Cursor<T> JImmutableArrayList.cursor()
           
 

Methods in org.javimmutable.collections.list with parameters of type Cursor
 JImmutableArrayList.Builder<T> JImmutableArrayList.Builder.add(Cursor<? extends T> source)
           
 

Uses of Cursor in org.javimmutable.collections.listmap
 

Methods in org.javimmutable.collections.listmap that return Cursor
 Cursor<JImmutableMap.Entry<K,JImmutableList<V>>> AbstractJImmutableListMap.cursor()
           
 Cursor<K> AbstractJImmutableListMap.keysCursor()
           
 Cursor<V> AbstractJImmutableListMap.valuesCursor(K key)
           
 

Uses of Cursor in org.javimmutable.collections.tree
 

Methods in org.javimmutable.collections.tree that return Cursor
 Cursor<JImmutableMap.Entry<K,V>> TwoNode.cursor()
           
abstract  Cursor<JImmutableMap.Entry<K,V>> TreeNode.cursor()
          Returns a Cursor visiting all entries in sorted order.
 Cursor<JImmutableMap.Entry<K,V>> ThreeNode.cursor()
           
 Cursor<JImmutableMap.Entry<K,V>> LeafNode.cursor()
           
 Cursor<JImmutableMap.Entry<K,V>> JImmutableTreeMap.cursor()
           
 Cursor<JImmutableMap.Entry<K,V>> EmptyNode.cursor()
           
 

Uses of Cursor in org.javimmutable.collections.tree_list
 

Methods in org.javimmutable.collections.tree_list that return Cursor
 Cursor<T> TwoNode.cursor()
           
abstract  Cursor<T> TreeNode.cursor()
           
 Cursor<T> ThreeNode.cursor()
           
 Cursor<T> LeafNode.cursor()
           
 Cursor<T> JImmutableTreeList.cursor()
           
 

Methods in org.javimmutable.collections.tree_list with parameters of type Cursor
 JImmutableTreeList.Builder<T> JImmutableTreeList.Builder.add(Cursor<? extends T> source)
           
 

Uses of Cursor in org.javimmutable.collections.util
 

Methods in org.javimmutable.collections.util that return Cursor
static
<T> Cursor<T>
Functions.reverse(Cursor<? extends T> cursor)
          Creates a new Cursor whose values are in the reverse order of the provided Cursor.
 

Methods in org.javimmutable.collections.util with parameters of type Cursor
static
<T> JImmutableArray<T>
JImmutables.array(Cursor<JImmutableMap.Entry<Integer,T>> source)
          Creates a sparse array containing all of the values from source that supports any integer (positive or negative) as an index.
static
<T,R,A extends Insertable<R>>
A
Functions.collectAll(Cursor<? extends T> cursor, A list, Func1<? super T,R> func)
          Calls func for every value in cursor and adds each value returned by func to a list.
static
<T,R,A extends Insertable<R>>
A
Functions.collectSome(Cursor<? extends T> cursor, A list, Func1<? super T,Holder<R>> func)
          Calls func for every value in cursor and adds each value for which func returns a non-empty Holder to a list.
static
<T> Iterable<T>
Functions.each(Cursor<T> cursor)
          Returns an Iterable that can be used to navigate each element in the specified Cursor.
static
<T> Holder<T>
Functions.find(Cursor<? extends T> cursor, Func1<? super T,Boolean> func)
          Calls func for each value in cursor and passes it to func until func returns true.
static
<T,R> R
Functions.foldLeft(R accumulator, Cursor<? extends T> cursor, Func2<R,? super T,R> func)
          Calls func for every value in cursor passing in the accumulator and each value as parameters and setting accumulator to the result.
static
<T,R> R
Functions.foldRight(R accumulator, Cursor<? extends T> cursor, Func2<R,? super T,R> func)
          Calls func for every value in cursor from right to left (i.e.
static
<T,A extends Insertable<T>>
A
Functions.insertAll(A addable, Cursor<? extends T> cursor)
          Add all values form the cursor to the addable.
static
<T> JImmutableSet<T>
JImmutables.insertOrderSet(Cursor<? extends T> source)
          Constructs a set containing all of the values in source that sorts values based on the order they were originally added to the set.
static
<T> JImmutableList<T>
JImmutables.list(Cursor<? extends T> source)
          Produces a JImmutableList containing all of the values in source built atop a 32-way tree.
static
<T> JImmutableRandomAccessList<T>
JImmutables.ralist(Cursor<? extends T> source)
          Produces an empty JImmutableRandomAccessList containing all of the values in source built atop a 2-3 tree.
static
<T,A extends Insertable<T>>
A
Functions.reject(Cursor<? extends T> cursor, A list, Func1<? super T,Boolean> func)
          Calls func for every value in cursor and adds each value for which func returns false to a list.
static
<T> Cursor<T>
Functions.reverse(Cursor<? extends T> cursor)
          Creates a new Cursor whose values are in the reverse order of the provided Cursor.
static
<T,A extends Insertable<T>>
A
Functions.select(Cursor<? extends T> cursor, A list, Func1<? super T,Boolean> func)
          Calls func for every value in cursor and adds each value for which func returns true to a list.
static
<T> JImmutableSet<T>
JImmutables.set(Cursor<? extends T> source)
          Constructs an unsorted set containing the values from source.
static
<T> JImmutableSet<T>
JImmutables.sortedSet(Comparator<T> comparator, Cursor<? extends T> source)
          Constructs a set containing all of the values in source that sorts values using comparator.
static
<T extends Comparable<T>>
JImmutableSet<T>
JImmutables.sortedSet(Cursor<? extends T> source)
          Constructs a set containing all of the values in source that sorts values in their natural sort order (using ComparableComparator).
static
<T> JImmutableStack<T>
JImmutables.stack(Cursor<? extends T> source)
          Produces a JImmutableStack containing all of the values in source.
 



Copyright © 2014 Burton Computer Corporation. All rights reserved.