|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jplate.foundation.util.impl.UnsynchronizedLinkedListFactory<V>
V
- The value that will be stored in List
's.public final class UnsynchronizedLinkedListFactory<V>
Factory that creates of unsynchronized LinkedList
's.
Foo
's, perform the
following:
final UnsynchronizedLinkedListFactory <Foo> factory = new UnsynchronizedLinkedListFactory <Foo> (); final List list <Foo> = factory.create ();
Modifications: $Date: 2008-12-02 12:32:45 -0500 (Tue, 02 Dec 2008) $ $Revision: 479 $ $Author: sfloess $ $HeadURL: https://jplate.svn.sourceforge.net/svnroot/jplate/trunk/src/dev/java/org/jplate/foundation/util/impl/UnsynchronizedLinkedListFactory.java $
LinkedList
,
List
,
Serialized FormField Summary | |
---|---|
private org.apache.commons.logging.Log |
_log
Used for logging. |
private static long |
serialVersionUID
For serialization purposes. |
Constructor Summary | |
---|---|
UnsynchronizedLinkedListFactory()
Default constructor only allowed to self and class. |
Method Summary | |
---|---|
java.util.List<V> |
create()
Creates and returns a LinkedList . |
void |
destroy(java.util.List<V> list)
Clean a previsously instantiated List . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final long serialVersionUID
private final transient org.apache.commons.logging.Log _log
Constructor Detail |
---|
public UnsynchronizedLinkedListFactory()
Method Detail |
---|
public java.util.List<V> create()
LinkedList
.
create
in interface FactoryIfc<java.util.List<V>>
LinkedList
.public void destroy(java.util.List<V> list)
List
. Assuming
list
is not null
, the clear
method
will be called.
destroy
in interface FactoryIfc<java.util.List<V>>
list
- The object to clean up.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |