public enum StepNormalizerBounds extends 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.FieldStepNormalizer
,
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 | 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(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
public static StepNormalizerBounds[] values()
for (StepNormalizerBounds c : StepNormalizerBounds.values()) System.out.println(c);
public static StepNormalizerBounds 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 boolean firstIncluded()
public boolean lastIncluded()
Copyright © 2003–2016 The Apache Software Foundation. All rights reserved.