|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CollectionFactory<E>
CollectionFactory
is a collection-specific instance of
the factory pattern.
Method Summary | |
---|---|
java.util.Collection<E> |
newColl()
Creates an empty collection. |
java.util.Collection<E> |
newColl(java.util.Collection<E> c)
Creates a collection that contains all elements from c . |
Method Detail |
---|
java.util.Collection<E> newColl()
java.util.Collection<E> newColl(java.util.Collection<E> c)
c
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |