public static enum ObjectIntMultiVector.SDIteratorIntersectionResult extends java.lang.Enum<ObjectIntMultiVector.SDIteratorIntersectionResult>
intersect
method of the ObjectIntMultiVector.SortedDataIterator
.Enum Constant and Description |
---|
ARGUMENT_ONLY
A new intersecting object was found in the iterator, which was passed
as the argument of the intersect method.
|
BOTH
A new intersecting object was found in both iterators
|
NONE
There were no intersecting objects found.
|
THIS_ONLY
A new intersecting object was found in the iterator, on which the intersect
method was called.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isArgumentIntersecting()
Returns true if the result indicates that there was an
intersecting object found in the iterator passed as argument.
|
boolean |
isBothIntersecting()
Returns true if the result indicates that there was an intersecting
object found both this iterator and the iterator passed as argument.
|
boolean |
isIntersecting()
Returns true if the result indicates that there was an intersecting object found.
|
boolean |
isThisIntersecting()
Returns true if the result indicates that there was an
intersecting object found in the iterator on which the intersect method was called.
|
static ObjectIntMultiVector.SDIteratorIntersectionResult |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ObjectIntMultiVector.SDIteratorIntersectionResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ObjectIntMultiVector.SDIteratorIntersectionResult NONE
public static final ObjectIntMultiVector.SDIteratorIntersectionResult BOTH
public static final ObjectIntMultiVector.SDIteratorIntersectionResult THIS_ONLY
public static final ObjectIntMultiVector.SDIteratorIntersectionResult ARGUMENT_ONLY
public static ObjectIntMultiVector.SDIteratorIntersectionResult[] values()
for (ObjectIntMultiVector.SDIteratorIntersectionResult c : ObjectIntMultiVector.SDIteratorIntersectionResult.values()) System.out.println(c);
public static ObjectIntMultiVector.SDIteratorIntersectionResult valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic boolean isIntersecting()
NONE
.public boolean isThisIntersecting()
public boolean isArgumentIntersecting()
public boolean isBothIntersecting()