|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--de.rwth.domains.templates.DualPOSet
Create partially ordered sets as dual of existing ones: invert less-than relation.
Inner classes inherited from class de.rwth.domains.Set |
Set.Default |
Field Summary | |
protected POSet |
poset
The original partially ordered set. |
Constructor Summary | |
DualPOSet(POSet poset)
Creates a new DualPOSet instance from an existing partially ordered
set. |
Method Summary | |
boolean |
equals(java.lang.Object e1,
java.lang.Object e2)
Returns the same as the corresponding method of the constructor argument of this partially ordered set. |
boolean |
isElement(java.lang.Object e)
Returns the same as the corresponding method of the constructor argument of this partially ordered set. |
java.util.Iterator |
iterator()
Returns the same as the corresponding method of the constructor argument of this partially ordered set. |
java.util.Iterator |
iteratorSkel()
Returns the same as the corresponding method of the constructor argument of this partially ordered set. |
boolean |
le(java.lang.Object e1,
java.lang.Object e2)
Reverses the argument order with respect to the corresponding method of the constructor argument of this partially ordered set. |
boolean |
lt(java.lang.Object e1,
java.lang.Object e2)
Reverses the argument order with respect to the corresponding method of the constructor argument of this partially ordered set. |
long |
size()
Returns the same as the corresponding method of the constructor argument of this partially ordered set. |
long |
sizeSkel()
Returns the same as the corresponding method of the constructor argument of this partially ordered set. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected POSet poset
Constructor Detail |
public DualPOSet(POSet poset)
DualPOSet
instance from an existing partially ordered
set.poset
- a POSet
valueMethod Detail |
public boolean equals(java.lang.Object e1, java.lang.Object e2)
equals
in interface Set
e1
- an Object
valuee2
- an Object
valueboolean
valuepublic boolean isElement(java.lang.Object e)
isElement
in interface Set
e
- an Object
valueboolean
valuepublic java.util.Iterator iterator()
iterator
in interface Set
Iterator
valuepublic long size()
size
in interface Set
long
valuepublic java.util.Iterator iteratorSkel()
iteratorSkel
in interface Set
Iterator
valuepublic long sizeSkel()
sizeSkel
in interface Set
long
valuepublic boolean lt(java.lang.Object e1, java.lang.Object e2)
lt
in interface POSet
e1
- an Object
valuee2
- an Object
valueboolean
valuepublic boolean le(java.lang.Object e1, java.lang.Object e2)
le
in interface POSet
e1
- an Object
valuee2
- an Object
valueboolean
value
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |