Uses of Interface
org.zedlib.Set

Uses of Set in org.zedlib
 

Subinterfaces of Set in org.zedlib
 interface Bag
          Bags are collections of elements of X in which the number of times an element occurs is significant.
 interface Function
          This class provides similar functionality to java.util.Map, however, it is properly descended from a Set (org.zedlib.Set, hence implements the java.util.Set interface).
 interface Relation
          A relation is a set of relationships between two objects.
 interface Sequence
          A sequence is a type of function that maps an integer (usually representing an ordering) to an object.
 

Classes in org.zedlib that implement Set
 class HashBag
          Bags are collections of elements of X in which the number of times an element occurs is significant.
 class HashFun
          This class provides similar functionality to java.util.Map, however, it is properly descended from a Set (org.zedlib.Set, hence implements the java.util.Set interface).
 class HashRel
          A relation is a set of relationships between two objects.
 class HashSeq
          A sequence is a type of function that maps an integer (usually representing an ordering) to an object.
 class HashSet
          A collection that contains no duplicate elements.
 

Methods in org.zedlib that return Set
 Set Set.union(Set t)
          Constructs the union of a given set with this set.
 Set Set.difference(Set t)
          Returns the difference of a given set with this set.
 Set Set.intersection(Set t)
          Returns the intersection of this set with a given set.
 Set Relation.domain()
          Returns a set containing the unique objects in X of the relation X ↔ Y.
 Set Relation.range()
          Returns a set containing the unique objects in Y of the relation X ↔ Y.
 Set Relation.image(Set s)
          Returns a set containing the range of a domain restriction on this relation, that is, returns a set of all y of Y for which x of X is related in X ↔ Y.
protected  Set HashSet.getInstance()
           
protected  Set HashSet.getInstance(Set s)
           
 Set HashSet.union(Set t)
          Constructs the union of a given set with this set.
 Set HashSet.union(Collection c)
          Constructs the union of this set with the collection of given sets.
 Set HashSet.difference(Set t)
          Returns the difference of a given set with this set.
 Set HashSet.difference(Collection c)
          Constructs the difference of this set with the collection of given sets.
 Set HashSet.intersection(Set t)
          Returns the intersection of this set with a given set.
 Set HashSet.intersection(Collection c)
          Constructs the intersection of this set and the collection of given sets.
protected  Set HashSeq.getInstance()
           
protected  Set HashSeq.getInstance(Set s)
           
protected  Set HashRel.getInstance()
           
protected  Set HashRel.getInstance(Set s)
           
 Set HashRel.domain()
          Returns a set containing the unique objects in X of the relation X ↔ Y.
 Set HashRel.range()
          Returns a set containing the unique objects in Y of the relation X ↔ Y.
 Set HashRel.image(Set s)
          Returns a set containing the range of a domain restriction on this relation, that is, returns a set of all y of Y for which x of X is related in X ↔ Y.
protected  Set HashFun.getInstance()
           
protected  Set HashFun.getInstance(Set s)
           
protected  Set HashBag.getInstance()
           
protected  Set HashBag.getInstance(Set s)
           
 

Methods in org.zedlib with parameters of type Set
 Set Set.union(Set t)
          Constructs the union of a given set with this set.
 Set Set.difference(Set t)
          Returns the difference of a given set with this set.
 Set Set.intersection(Set t)
          Returns the intersection of this set with a given set.
 boolean Set.isSubsetOf(Set t)
          Determines whether a given set contains at least the elements in this set.
 boolean Set.isSupersetOf(Set t)
          Determines whether this set contains at least the elements in a given set.
 Relation Set.cartesianProduct(Set y)
          Constructs the cartesian product (X x Y) of two sets X and Y.
 Relation Relation.domainRestriction(Set s)
          Returns a relation being only those maplets in this relation whose x in (x,y) appear in the given set.
 Relation Relation.domainAntiRestriction(Set s)
          Returns a relation being those maplets in this relation whose x in (x,y) do not appear in the given set.
 Relation Relation.rangeRestriction(Set t)
          Returns a relation containing only those maplets of this relation whose y in (x,y) appear in the given set.
 Relation Relation.rangeAntiRestriction(Set t)
          Returns a relation containing those maplets in this relation whose y in (x,y) do not appear in the given set.
 Set Relation.image(Set s)
          Returns a set containing the range of a domain restriction on this relation, that is, returns a set of all y of Y for which x of X is related in X ↔ Y.
protected  Set HashSet.getInstance(Set s)
           
 Set HashSet.union(Set t)
          Constructs the union of a given set with this set.
 Set HashSet.difference(Set t)
          Returns the difference of a given set with this set.
 Set HashSet.intersection(Set t)
          Returns the intersection of this set with a given set.
 boolean HashSet.isSubsetOf(Set t)
          Determines whether a given set contains at least the elements in this set.
 boolean HashSet.isProperSubsetOf(Set t)
          Determines whether this set is a proper subset of a given set.
 boolean HashSet.isSupersetOf(Set t)
          Determines whether this set contains at least the elements in a given set.
 Relation HashSet.cartesianProduct(Set y)
          Constructs the cartesian product (X x Y) of two sets X and Y.
protected  Set HashSeq.getInstance(Set s)
           
protected  Set HashRel.getInstance(Set s)
           
 Relation HashRel.domainRestriction(Set s)
          Returns a relation being only those maplets in this relation whose x in (x,y) appear in the given set.
 Relation HashRel.domainAntiRestriction(Set s)
          Returns a relation being those maplets in this relation whose x in (x,y) do not appear in the given set.
 Relation HashRel.rangeRestriction(Set t)
          Returns a relation containing only those maplets of this relation whose y in (x,y) appear in the given set.
 Relation HashRel.rangeAntiRestriction(Set t)
          Returns a relation containing those maplets in this relation whose y in (x,y) do not appear in the given set.
 Set HashRel.image(Set s)
          Returns a set containing the range of a domain restriction on this relation, that is, returns a set of all y of Y for which x of X is related in X ↔ Y.
protected  Set HashFun.getInstance(Set s)
           
protected  Set HashBag.getInstance(Set s)
           
 



Copyright © 2006 Brad Long. All Rights Reserved.