DoubleSequenceValidator

public class DoubleSequenceValidator extends DoubleArrayValidator

Class DoubleSequenceValidator. Provides doublesequencevalidator functionality for the Hytale server.

java.lang.Object > DoubleArrayValidator > DoubleSequenceValidator

Field Summary

value

final double value

Field value.

handle

final MethodHandle handle

Field handle.

Method Detail

DoubleSequenceValidator

public private DoubleSequenceValidator (final RelationalOperator relationLower, final double lower, final RelationalOperator relationUpper, final double upper, final RelationalOperator relationSequence)

Method DoubleSequenceValidator.

Parameters:
final RelationalOperator relationLower
final double lower
final RelationalOperator relationUpper
final double upper
final RelationalOperator relationSequence

between01

static DoubleSequenceValidator between01 ()

Method between01.

between01WeaklyMonotonic

static DoubleSequenceValidator between01WeaklyMonotonic ()

Method between01WeaklyMonotonic.

between01Monotonic

static DoubleSequenceValidator between01Monotonic ()

Method between01Monotonic.

between

static DoubleSequenceValidator between (final double lower, final double upper)

Method between.

Parameters:
final double lower
final double upper

betweenWeaklyMonotonic

static DoubleSequenceValidator betweenWeaklyMonotonic (final double lower, final double upper)

Method betweenWeaklyMonotonic.

Parameters:
final double lower
final double upper

betweenMonotonic

static DoubleSequenceValidator betweenMonotonic (final double lower, final double upper)

Method betweenMonotonic.

Parameters:
final double lower
final double upper

fromExclToIncl

static DoubleSequenceValidator fromExclToIncl (final double lower, final double upper)

Method fromExclToIncl.

Parameters:
final double lower
final double upper

fromExclToInclWeaklyMonotonic

static DoubleSequenceValidator fromExclToInclWeaklyMonotonic (final double lower, final double upper)

Method fromExclToInclWeaklyMonotonic.

Parameters:
final double lower
final double upper

fromExclToInclMonotonic

static DoubleSequenceValidator fromExclToInclMonotonic (final double lower, final double upper)

Method fromExclToInclMonotonic.

Parameters:
final double lower
final double upper

monotonic

static DoubleSequenceValidator monotonic ()

Method monotonic.

weaklyMonotonic

static DoubleSequenceValidator weaklyMonotonic ()

Method weaklyMonotonic.

test

public boolean test (@Nonnull final double[] values)

Method test.

Parameters:
@Nonnull final double[] values

errorMessage

public String errorMessage (final double[] value)

Method errorMessage.

Parameters:
final double[] value

errorMessage0

private String errorMessage0 (final double[] value, final String name)

Method errorMessage0.

Parameters:
final double[] value
final String name

handle

static MethodHandle handle ()

Method handle.

ensureHandle

static MethodHandle ensureHandle ()

Method ensureHandle.

invoke

static String invoke (String p0, double p1)

Method invoke.

Parameters:
String p0
double p1