Uses of Interface
org.javimmutable.collections.Insertable

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

Uses of Insertable in org.javimmutable.collections
 

Subinterfaces of Insertable in org.javimmutable.collections
 interface JImmutableArray<T>
          Immutable sparse array implementation using integers as keys.
 interface JImmutableList<T>
          Interface for containers that store items in list form with individual items available for get() and assign() using their indexes.
 interface JImmutableListMap<K,V>
          Interface for maps that map keys to lists of values.
 interface JImmutableMap<K,V>
          Interface for persistent data structures that allow storage and retrieval of key/value pairs.
 interface JImmutableRandomAccessList<T>
          Extension of PersistentList that allows insertion and deletion at arbitrary indexes within the list.
 interface JImmutableSet<T>
          Interface for immutable sets.
 interface JImmutableStack<T>
          Interface for objects that store values in LIFO form.
 

Methods in org.javimmutable.collections that return Insertable
 Insertable<JImmutableMap.Entry<K,V>> JImmutableMap.insert(JImmutableMap.Entry<K,V> value)
          Add key/value entry to the map, replacing any existing entry with same key.
 Insertable<JImmutableMap.Entry<K,V>> JImmutableListMap.insert(JImmutableMap.Entry<K,V> value)
          Add key/value entry to the map, replacing any existing entry with same key.
 Insertable<T> Insertable.insert(T value)
          Add value to the container in some manner appropriate to the implementation.
 

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

Classes in org.javimmutable.collections.array.bit32 that implement Insertable
 class Bit32Array<T>
          JImmutableArray implementation that only accepts indexes in the range [0, 31].
 class EmptyBit32Array<T>
           
 class FullBit32Array<T>
           
 class SingleBit32Array<T>
           
 class StandardBit32Array<T>
           
 

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

Classes in org.javimmutable.collections.array.trie32 that implement Insertable
 class TrieArray<T>
           
 

Uses of Insertable in org.javimmutable.collections.common
 

Classes in org.javimmutable.collections.common that implement Insertable
 class AbstractJImmutableArray<T>
           
 class AbstractJImmutableMap<K,V>
           
 class AbstractJImmutableSet<T>
           
 

Methods in org.javimmutable.collections.common that return Insertable
 Insertable<JImmutableMap.Entry<Integer,T>> AbstractJImmutableArray.insert(JImmutableMap.Entry<Integer,T> e)
          Adds the key/value pair to this map.
 Insertable<JImmutableMap.Entry<K,V>> AbstractJImmutableMap.insert(JImmutableMap.Entry<K,V> e)
          Adds the key/value pair to this map.
 

Uses of Insertable in org.javimmutable.collections.hash
 

Classes in org.javimmutable.collections.hash that implement Insertable
 class EmptyHashMap<K,V>
          Singleton implementation of JImmutableMap that contains no elements.
 class JImmutableHashMap<T,K,V>
           
 class JImmutableHashSet<T>
           
 

Uses of Insertable in org.javimmutable.collections.inorder
 

Classes in org.javimmutable.collections.inorder that implement Insertable
 class JImmutableInsertOrderMap<K,V>
          JImmutableMap implementation that allows iteration over members in the order in which they were inserted into the map.
 class JImmutableInsertOrderSet<T>
          JImmutableSet implementation built on top of a JImmutableInsertOrderMap.
 

Uses of Insertable in org.javimmutable.collections.list
 

Classes in org.javimmutable.collections.list that implement Insertable
 class JImmutableArrayList<T>
          JImmutableList implementation using 32-way trees.
 class JImmutableLinkedStack<T>
          Singly linked list implementation of PersistentList that stores and retrieves values in the reverse order of the corresponding add() method calls.
 

Uses of Insertable in org.javimmutable.collections.listmap
 

Classes in org.javimmutable.collections.listmap that implement Insertable
 class AbstractJImmutableListMap<K,V>
           
 class JImmutableHashListMap<K,V>
          JImmutableListMap using a hash map for fast lookup.
 class JImmutableInsertOrderListMap<K,V>
          JImmutableListMap implementation that allows keys to be traversed in the same order as they were inserted into the collection.
 class JImmutableTreeListMap<K,V>
          JImmutableListMap implementation that allows keys to be traversed in sorted order using a Comparator of the natural ordering of the keys if they implement Comparable.
 

Methods in org.javimmutable.collections.listmap that return Insertable
 Insertable<JImmutableMap.Entry<K,V>> AbstractJImmutableListMap.insert(JImmutableMap.Entry<K,V> e)
           
 

Uses of Insertable in org.javimmutable.collections.tree
 

Classes in org.javimmutable.collections.tree that implement Insertable
 class JImmutableTreeMap<K,V>
           
 class JImmutableTreeSet<T>
           
 

Uses of Insertable in org.javimmutable.collections.tree_list
 

Classes in org.javimmutable.collections.tree_list that implement Insertable
 class JImmutableTreeList<T>
          Implementation of PersistentRandomAccessList that uses a 2-3 tree for its implementation.
 

Uses of Insertable in org.javimmutable.collections.util
 

Methods in org.javimmutable.collections.util with type parameters of type Insertable
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,A extends Insertable<T>>
A
Functions.insertAll(A addable, Cursor<? extends T> cursor)
          Add all values form the cursor to the addable.
static
<T,A extends Insertable<T>>
A
Functions.insertAll(A addable, Iterator<? extends T> iterator)
          Add all values form the iterator to the addable.
static
<T,A extends Insertable<T>>
A
Functions.insertAll(A addable, T[] values)
          Add all values form the array to the addable.
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,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.
 



Copyright © 2014 Burton Computer Corporation. All rights reserved.