Uses of Interface org.apache.commons.collections.Factory

Uses in package org.apache.commons.collections.map

Constructors with parameter type org.apache.commons.collections.Factory

LazyMap.LazyMap(Map map, Factory factory)
Constructor that wraps (not copies).
LazySortedMap.LazySortedMap(SortedMap map, Factory factory)
Constructor that wraps (not copies).

Methods with parameter type org.apache.commons.collections.Factory

Map
LazyMap.decorate(Map map, Factory factory)
Factory method to create a lazily instantiated map.
SortedMap
LazySortedMap.decorate(SortedMap map, Factory factory)
Factory method to create a lazily instantiated sorted map.

Uses in package org.apache.commons.collections.functors

Classes implementing org.apache.commons.collections.Factory

class
Factory implementation that returns the same constant each time.
class
Factory implementation that always throws an exception.
class
Factory implementation that creates a new object instance by reflection.

Constructors with parameter type org.apache.commons.collections.Factory

Constructor that performs no validation.

Fields of type org.apache.commons.collections.Factory

Factory
Singleton predicate instance
Factory
Returns null each time

Methods with parameter type org.apache.commons.collections.Factory

Transformer
Factory method that performs validation.

Methods with return type org.apache.commons.collections.Factory

Factory
Gets the factory.
Factory
Factory returning the singleton instance.
Factory
InstantiateFactory.getInstance(Class classToInstantiate, Class[] paramTypes, Object[] args)
Factory method that performs validation.
Factory
ConstantFactory.getInstance(Object constantToReturn)
Factory method that performs validation.
Factory
PrototypeFactory.getInstance(Object prototype)
Factory method that performs validation.

Uses in package org.apache.commons.collections.list

Constructors with parameter type org.apache.commons.collections.Factory

LazyList.LazyList(List list, Factory factory)
Constructor that wraps (not copies).

Fields of type org.apache.commons.collections.Factory

Factory
The factory to use to lazily instantiate the objects

Methods with parameter type org.apache.commons.collections.Factory

List
LazyList.decorate(List list, Factory factory)
Factory method to create a lazily instantiating list.

Uses in package org.apache.commons.collections

Methods with parameter type org.apache.commons.collections.Factory

Transformer
Creates a Transformer that calls a Factory each time the transformer is used.
List
ListUtils.lazyList(List list, Factory factory)
Returns a "lazy" list whose elements will be created on demand.
Map
MapUtils.lazyMap(Map map, Factory factory)
Returns a "lazy" map whose values will be created on demand.
SortedMap
MapUtils.lazySortedMap(SortedMap map, Factory factory)
Returns a "lazy" sorted map whose values will be created on demand.

Methods with return type org.apache.commons.collections.Factory

Factory
FactoryUtils.constantFactory(Object constantToReturn)
Creates a Factory that will return the same object each time the factory is used.
Factory
Gets a Factory that always throws an exception.
Factory
FactoryUtils.instantiateFactory(Class classToInstantiate)
Creates a Factory that can create objects of a specific type using a no-args constructor.
Factory
FactoryUtils.instantiateFactory(Class classToInstantiate, Class[] paramTypes, Object[] args)
Creates a Factory that can create objects of a specific type using the arguments specified to this method.
Factory
Gets a Factory that will return null each time the factory is used.
Factory
FactoryUtils.prototypeFactory(Object prototype)
Creates a Factory that will return a clone of the same prototype object each time the factory is used.

Copyright © 2001-2006 Apache Software Foundation. All Rights Reserved.