Package de.team33.sphinx.metis
Class JLists
java.lang.Object
de.team33.sphinx.metis.JLists
Utility class to handle
JLists.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classJLists.Builder<E,T extends JList<E>> Builder implementation to build target instances ofJList.static final classJLists.Charger<E,T extends JList<E>> Charger implementation to charge target instances ofJList.static interfaceJLists.Setup<E,T extends JList<E>, S extends JLists.Setup<E, T, S>> Utility interface to set up a target instance ofJList. -
Method Summary
Modifier and TypeMethodDescriptionstatic <E,T extends JList<E>>
JLists.Builder<E,T> Returns a newJLists.Builderfor target instances as supplied by the givenSupplier.static <E> JLists.Builder<E,JList<E>> Returns a newJLists.Builderfor target instances of typeJList.static <E,T extends JList<E>>
JLists.Charger<E,T> charger(T target) Returns a newJLists.Chargerfor a given target instance.static <E> JLists.Setup<E,JList<E>, ?> Returns a newJLists.Setupfor a givenJListinstance.
-
Method Details
-
builder
Returns a newJLists.Builderfor target instances of typeJList.- Type Parameters:
E- The element type.
-
builder
Returns a newJLists.Builderfor target instances as supplied by the givenSupplier.- Type Parameters:
E- The element type.T- The final type of the target instances, at leastJList.
-
charger
Returns a newJLists.Chargerfor a given target instance.- Type Parameters:
E- The element type.T- The final type of the target instance, at leastJList.
-
setup
Returns a newJLists.Setupfor a givenJListinstance.- Type Parameters:
E- The element type.
-