|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjpaul.DataStructs.RelationFactory<K,V>
jpaul.DataStructs.RelFacts.MapSetRelationFactory<K,V>
RelFacts.mapSet() or RelFacts.mapSet(MapFactory,SetFactory) instead.
@Deprecated public static class RelFacts.MapSetRelationFactory<K,V>
MapSetRelationFactory generates
MapSetRelations that use a specific
MapFactory and a specific SetFactory.
| Constructor Summary | |
|---|---|
RelFacts.MapSetRelationFactory()
Deprecated. Default constructor: creates a MapSetRelationFactory that generates
relations whose representation uses
LinkedHashMaps and LinkedHashSets. |
|
RelFacts.MapSetRelationFactory(MapFactory<K,java.util.Set<V>> mapFact,
SetFactory<V> setFact)
Deprecated. Creates a MapSetRelationFactory that
generates relations whose representation uses maps
generated by mapFact and sets generated by
setFact. |
|
| Method Summary | |
|---|---|
Relation<K,V> |
create()
Create a new object of class T. |
Relation<K,V> |
create(Relation<K,V> r)
Default implementation: uses RelationFactory.create() to create an
empty relation, and next add each pair from r to
the new relation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RelFacts.MapSetRelationFactory()
MapSetRelationFactory that generates
relations whose representation uses
LinkedHashMaps and LinkedHashSets.
public RelFacts.MapSetRelationFactory(MapFactory<K,java.util.Set<V>> mapFact,
SetFactory<V> setFact)
MapSetRelationFactory that
generates relations whose representation uses maps
generated by mapFact and sets generated by
setFact.
| Method Detail |
|---|
public Relation<K,V> create()
FactoryT. Corresponds to a
default constructor.
create in interface Factory<Relation<K,V>>create in class RelationFactory<K,V>public Relation<K,V> create(Relation<K,V> r)
RelationFactoryRelationFactory.create() to create an
empty relation, and next add each pair from r to
the new relation.
create in interface Factory<Relation<K,V>>create in class RelationFactory<K,V>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||