|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jjoost.collections.SetMaker<V>
public abstract class SetMaker<V>
| Nested Class Summary | |
|---|---|
static class |
SetMaker.HashSetMaker<V>
This class provides a user friendly means of constructing a variety of hash sets. |
| Method Summary | ||
|---|---|---|
static
|
hash()
Returns a new HashSetMaker for building hash sets |
|
MultiSet<V> |
newMultiSet()
Construct and return a new MultiSet with INLINE nesting |
|
abstract MultiSet<V> |
newMultiSet(MultiSetNesting<V> nesting)
Construct and return a new MultiSet with the provided nesting settings |
|
Factory<MultiSet<V>> |
newMultiSetFactory(MultiSetNesting<V> nesting)
Return a new Factory whose create() method returns the result of this.newMultiSet(nesting). |
|
abstract Set<V> |
newSet()
Construct and return a new Set |
|
Factory<Set<V>> |
newSetFactory()
Return a new Factory whose create() method returns the result of this.newSet(). |
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public abstract Set<V> newSet()
Set
Setpublic MultiSet<V> newMultiSet()
MultiSet with INLINE nesting
MultiSet with INLINE nestingpublic abstract MultiSet<V> newMultiSet(MultiSetNesting<V> nesting)
MultiSet with the provided nesting settings
nesting - nesting
MultiSet with the provided nesting settingspublic Factory<Set<V>> newSetFactory()
Factory whose create() method returns the result of this.newSet(). Changes to
this SetMaker after the construction of this factory will not affect the result of calls to the factory's
create() method.
Setpublic Factory<MultiSet<V>> newMultiSetFactory(MultiSetNesting<V> nesting)
Factory whose create() method returns the result of this.newMultiSet(nesting).
Changes to this SetMaker after the construction of this factory will not affect the result of calls to the factory's
create() method.
MultiSetpublic static <V> SetMaker.HashSetMaker<V> hash()
new HashSetMaker for building hash sets
HashSetMaker
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||