public enum StepNormalizerBounds extends java.lang.Enum<StepNormalizerBounds>
Step normalizer
bounds settings. They influence
whether the underlying fixed step size step handler is called for the first
and last points. Note that if the last point coincides with a normalized
point, then the underlying fixed step size step handler is always called,
regardless of these settings.StepNormalizer
,
StepNormalizerMode
Enum Constant and Description |
---|
BOTH
Include both the first and last points.
|
FIRST
Include the first point, but not the last point.
|
LAST
Include the last point, but not the first point.
|
NEITHER
Do not include the first and last points.
|
Modifier and Type | Field and Description |
---|---|
private boolean |
first
Whether the first point should be passed to the underlying fixed
step size step handler.
|
private boolean |
last
Whether the last point should be passed to the underlying fixed
step size step handler.
|
Modifier and Type | Method and Description |
---|---|
boolean |
firstIncluded()
Returns a value indicating whether the first point should be passed
to the underlying fixed step size step handler.
|
boolean |
lastIncluded()
Returns a value indicating whether the last point should be passed
to the underlying fixed step size step handler.
|
static StepNormalizerBounds |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StepNormalizerBounds[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StepNormalizerBounds NEITHER
public static final StepNormalizerBounds FIRST
public static final StepNormalizerBounds LAST
public static final StepNormalizerBounds BOTH
private final boolean first
private final boolean last
public static StepNormalizerBounds[] values()
for (StepNormalizerBounds c : StepNormalizerBounds.values()) System.out.println(c);
public static StepNormalizerBounds 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 firstIncluded()
public boolean lastIncluded()
Copyright (c) 2003-2016 Apache Software Foundation