|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<Expansion> com.jrockit.mc.flightrecorder.spi.Expansion
public enum Expansion
Enumeration that describes how values should be picked from an iterator.
Enum Constant Summary | |
---|---|
EXPANDED
Expansion that picks ranges one event before and one after of the
selected range. |
|
NORMAL
Picks ranges without an expansion |
Method Summary | |
---|---|
int |
getEndIndexDelta()
|
int |
getStartIndexDelta()
|
static Expansion |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Expansion[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Expansion EXPANDED
Expansion
that picks ranges one event before and one after of the
selected range. Typically used by chart algorithms that need a point
before and after the interval that should be plotted.
public static final Expansion NORMAL
Method Detail |
---|
public static Expansion[] values()
for (Expansion c : Expansion.values()) System.out.println(c);
public static Expansion 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 name
java.lang.NullPointerException
- if the argument is nullpublic int getStartIndexDelta()
public int getEndIndexDelta()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |