Uses of Interface
org.jjoost.util.Factory

Packages that use Factory
org.jjoost.collections   
org.jjoost.collections.base   
org.jjoost.collections.bimaps   
org.jjoost.collections.maps.base   
org.jjoost.collections.maps.nested   
org.jjoost.collections.maps.wrappers   
org.jjoost.util   
 

Uses of Factory in org.jjoost.collections
 

Methods in org.jjoost.collections that return Factory
 Factory<Set<V>> MultiMapNesting.factory()
          Factory; ignored if type() == INLINE
 Factory<MultiSet<V>> ListMapNesting.factory()
          Factory; ignored if type() == INLINE
 Factory<ListMap<K,V>> MapMaker.newListMapFactory(ListMapNesting<V> nesting)
          Return a new Factory whose create() method returns the result of this.newListMap(nesting).
 Factory<Map<K,V>> MapMaker.newMapFactory()
          Return a new Factory whose create() method returns the result of this.newMap().
 Factory<MultiMap<K,V>> MapMaker.newMultiMapFactory(MultiMapNesting<V> nesting)
          Return a new Factory whose create() method returns the result of this.newMultiMap(nesting).
 Factory<MultiSet<V>> SetMaker.newMultiSetFactory(MultiSetNesting<V> nesting)
          Return a new Factory whose create() method returns the result of this.newMultiSet(nesting).
 Factory<Set<V>> SetMaker.newSetFactory()
          Return a new Factory whose create() method returns the result of this.newSet().
 

Methods in org.jjoost.collections with parameters of type Factory
 MapMaker.HashMapMaker<K,V> MapMaker.HashMapMaker.defaultsTo(Factory<V> factory)
          This options is only available for the construction of a regular Map.
 V Map.ensureAndGet(K key, Factory<? extends V> putIfNotPresent)
          Equivalent to putIfAbsent(key, putIfNotPresent), except that instead of returning the value previously associated with the key, returns the value associated with the key as the method is exiting; i.e.
static
<V> ListMapNesting<V>
ListMapNesting.nested(Factory<MultiSet<V>> factory)
          Public method for retrieving a ListMapNesting to represent the required NESTED nesting
static
<V> MultiMapNesting<V>
MultiMapNesting.nested(Factory<Set<V>> factory)
          Public method for retrieving a MultiMapNesting to represent the required NESTED nesting
 

Uses of Factory in org.jjoost.collections.base
 

Constructors in org.jjoost.collections.base with parameters of type Factory
SegmentedHashStore(int segments, Factory<HashStore<N>> factory)
           
 

Uses of Factory in org.jjoost.collections.bimaps
 

Methods in org.jjoost.collections.bimaps with parameters of type Factory
 V BiMapOneToOne.ensureAndGet(K key, Factory<? extends V> putIfNotPresent)
           
 V BiMapOneToMany.ensureAndGet(K key, Factory<? extends V> putIfNotPresent)
           
 

Uses of Factory in org.jjoost.collections.maps.base
 

Methods in org.jjoost.collections.maps.base with parameters of type Factory
 V ScalarHashMap.ensureAndGet(K key, Factory<? extends V> putIfNotPresent)
           
 

Uses of Factory in org.jjoost.collections.maps.nested
 

Constructors in org.jjoost.collections.maps.nested with parameters of type Factory
NestedSetListMap(Map<K,MultiSet<V>> map, Equality<? super V> valueEq, Factory<MultiSet<V>> factory)
           
NestedSetMap(Map<K,S> map, Equality<? super V> valueEq, Factory<S> factory)
           
NestedSetMultiMap(Map<K,Set<V>> map, Equality<? super V> valueEq, Factory<Set<V>> factory)
           
 

Uses of Factory in org.jjoost.collections.maps.wrappers
 

Methods in org.jjoost.collections.maps.wrappers with parameters of type Factory
 V SynchronizedMap.ensureAndGet(K key, Factory<? extends V> putIfNotPresent)
           
 V DefaultFunctionMap.ensureAndGet(K key, Factory<? extends V> putIfNotPresent)
           
 V DefaultFactoryMap.ensureAndGet(K key, Factory<? extends V> putIfNotPresent)
           
 V AdapterFromJDKMap.ensureAndGet(K key, Factory<? extends V> putIfNotPresent)
           
 

Constructors in org.jjoost.collections.maps.wrappers with parameters of type Factory
DefaultFactoryMap(Map<K,V> delegate, Factory<V> defaultFactory)
           
 

Uses of Factory in org.jjoost.util
 

Classes in org.jjoost.util that implement Factory
static class Factories.CastFactory<E>
          A simple factory which wraps another factory (ordinarily a SimpleObjectFactory) and (unsafely) casts the result to the type parameter provided.
static class Factories.SimpleObjectFactory<E>
          A simple factory that creates objects of the type of the class provided, providing it has an empty constructor
 

Methods in org.jjoost.util that return Factory
static
<E,F> Factory<F>
Factories.cast(Factory<E> factory)
          Creates a factory which delegates to the provided factory and (unsafely) casts its result to the type F
static
<E> Factory<E>
Factories.forClass(java.lang.Class<E> clazz)
          Returns a new SimpleObjectFactory which constructs objects of type clazz with its no-args constructor
 

Methods in org.jjoost.util with parameters of type Factory
static
<E,F> Factory<F>
Factories.cast(Factory<E> factory)
          Creates a factory which delegates to the provided factory and (unsafely) casts its result to the type F
 

Constructors in org.jjoost.util with parameters of type Factory
Factories.CastFactory(Factory<?> wrapped)
          Create a new cast factory