public class XDTValidCombinationSet extends java.util.Vector<XDTCombinationItemHead>
Modifier and Type | Field and Description |
---|---|
static XDTValidCombinationSet |
CLOSED
This is a static representation of an EMPTY CLOSED hypercube.
|
static int |
MAXIMUM_COMBINATIONS
This is the maximum number of combinations allowed.
|
static int |
NEGATIVE
Constant that indicates a combination that result in a dimensionaly invalid fact.
|
static XDTValidCombinationSet |
OPEN
This is a static representation of an EMPTY OPEN hypercube.
|
static int |
POSITIVE
Constant that indicates a combination that result in a dimensionaly valid fact.
|
Modifier and Type | Method and Description |
---|---|
boolean |
all(XDTValidCombinationSet other)
Operates the sign of two combinations using the "all" operator.
|
boolean |
equals(java.lang.Object other)
Equals.
|
long |
getCombinations()
Gets the combinations.
|
int |
getSign()
Returns either POSITIVE or NEGATIVE depending on the sign of this combination.
|
int |
hashCode()
this is a static singleton instance of the OVERSIZED combination.
|
boolean |
includedIn(XDTValidCombinationSet o)
Returns true if this combination is under the scope of the "o" combination
That is "this" is most restrictive than "o".
|
boolean |
isClosed()
Returns true if this is a closed combination.
|
boolean |
isOpen()
Returns true if this is an open combination.
|
boolean |
isOversized()
Returns true if this combination contains no valid combinations because it is oversized.
|
void |
setClosed(boolean newValue)
Sets the value of the closed attribute on this combination.
|
void |
setOversized(long combinations)
Used to indicate this combination exceeds maximum combinations allowed.
|
void |
setSign(int newValue)
Sets the sign of this combination.
|
java.lang.String |
toString()
To string.
|
add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, firstElement, forEach, get, indexOf, indexOf, insertElementAt, isEmpty, iterator, lastElement, lastIndexOf, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeIf, replaceAll, retainAll, set, setElementAt, setSize, size, sort, spliterator, subList, toArray, toArray, trimToSize
public static final int POSITIVE
public static final int NEGATIVE
public static int MAXIMUM_COMBINATIONS
public static XDTValidCombinationSet OPEN
public static XDTValidCombinationSet CLOSED
public int hashCode()
hashCode
in interface java.util.Collection<XDTCombinationItemHead>
hashCode
in interface java.util.List<XDTCombinationItemHead>
hashCode
in class java.util.Vector<XDTCombinationItemHead>
public boolean isClosed()
public boolean isOversized()
public boolean isOpen()
public int getSign()
public void setClosed(boolean newValue)
newValue
- the new closedpublic void setOversized(long combinations)
combinations
- the total number of combinationspublic long getCombinations()
public void setSign(int newValue)
newValue
- the new signpublic boolean all(XDTValidCombinationSet other)
other
- the otherpublic boolean includedIn(XDTValidCombinationSet o)
o
- the opublic boolean equals(java.lang.Object other)
equals
in interface java.util.Collection<XDTCombinationItemHead>
equals
in interface java.util.List<XDTCombinationItemHead>
equals
in class java.util.Vector<XDTCombinationItemHead>
other
- the otherpublic java.lang.String toString()
toString
in class java.util.Vector<XDTCombinationItemHead>
Copyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa