ariba.util.core
Class Factory<T>
java.lang.Object
ariba.util.core.Factory<T>
public abstract class Factory<T>
- extends java.lang.Object
Convenience generic factory class.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ListFactory
public static final Factory<java.util.List<java.lang.Object>> ListFactory
SetFactory
public static final Factory<java.util.Set<java.lang.Object>> SetFactory
SortedSetFactory
public static final Factory<java.util.SortedSet<java.lang.Object>> SortedSetFactory
Factory
public Factory()
create
public abstract T create(java.lang.Object... arguments)
- Creates and returns an instance of the generic type,
T
.
- Returns:
- the newly created instance of
T
listFactory
public static <T> Factory<java.util.List<T>> listFactory()
setFactory
public static <T> Factory<java.util.Set<T>> setFactory()
sortedSetFactory
public static <T> Factory<java.util.SortedSet<T>> sortedSetFactory()
AribaWeb User Interface Development Framework
Copyright © 2000-2014 Ariba, Inc. All Rights Reserved.