public enum RangeCompare extends Enum<RangeCompare>
| Enum Constant and Description |
|---|
END_TO_END
Compare end boundary-point of sourceRange to end boundary-point of Range on which compareBoundaryPoints is
invoked.
|
END_TO_START
Compare end boundary-point of sourceRange to start boundary-point of Range on which compareBoundaryPoints is
invoked.
|
START_TO_END
Compare start boundary-point of sourceRange to end boundary-point of Range on which compareBoundaryPoints is
invoked.
|
START_TO_START
Compare start boundary-point of sourceRange to start boundary-point of Range on which compareBoundaryPoints is
invoked.
|
| Modifier and Type | Method and Description |
|---|---|
RangeCompare |
reverse() |
String |
toString() |
static RangeCompare |
valueOf(boolean firstEndPoint,
boolean secondEndPoint) |
static RangeCompare |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RangeCompare[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RangeCompare START_TO_START
public static final RangeCompare START_TO_END
public static final RangeCompare END_TO_END
public static final RangeCompare END_TO_START
public static RangeCompare[] values()
for (RangeCompare c : RangeCompare.values()) System.out.println(c);
public static RangeCompare valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullpublic String toString()
toString in class Enum<RangeCompare>public RangeCompare reverse()
public static RangeCompare valueOf(boolean firstEndPoint, boolean secondEndPoint)
firstEndPoint - true for START and false for END.secondEndPoint - true for START and false for END.Copyright © 2004–2014 XWiki. All rights reserved.