JavaScript is disabled on your browser.
All Implemented Interfaces:
Serializable
, Comparable <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.
Since:
3.0
See Also:
Enum Constant Summary
Enum Constants
Include both the first and last points.
Include the first point, but not the last point.
Include the last point, but not the first point.
Do not include the first and last points.
Field Summary
Fields
private final boolean
Whether the first point should be passed to the underlying fixed
step size step handler.
private final boolean
Whether the last point should be passed to the underlying fixed
step size step handler.
Constructor Summary
Constructors
Method Summary
All Methods Static Methods Instance Methods Concrete Methods
boolean
Returns a value indicating whether the first point should be passed
to the underlying fixed step size step handler.
boolean
Returns a value indicating whether the last point should be passed
to the underlying fixed step size step handler.
Returns the enum constant of this type with the specified name.
Returns an array containing the constants of this enum type, in
the order they are declared.
Enum Constant Details
NEITHER
Do not include 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.
BOTH
Include both the first and last points.
Field Details
first
private final boolean first
Whether the first point should be passed to the underlying fixed
step size step handler.
last
private final boolean last
Whether the last point should be passed to the underlying fixed
step size step handler.
Constructor Details
StepNormalizerBounds
private StepNormalizerBounds (boolean first,
boolean last)
Simple constructor.
Parameters:
first
- Whether the first point should be passed to the
underlying fixed step size step handler.
last
- Whether the last point should be passed to the
underlying fixed step size step handler.
Method Details
values
Returns an array containing the constants of this enum type, in
the order they are declared.
Returns:
an array containing the constants of this enum type, in the order they are declared
valueOf
Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
Parameters:
name
- the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException
- if this enum type has no constant with the specified name
NullPointerException
- if the argument is null
firstIncluded
public boolean firstIncluded ()
Returns a value indicating whether the first point should be passed
to the underlying fixed step size step handler.
Returns:
value indicating whether the first point should be passed
to the underlying fixed step size step handler.
lastIncluded
public boolean lastIncluded ()
Returns a value indicating whether the last point should be passed
to the underlying fixed step size step handler.
Returns:
value indicating whether the last point should be passed
to the underlying fixed step size step handler.