IntSequenceValidator

public class IntSequenceValidator extends IntArrayValidator

Class IntSequenceValidator. Provides intsequencevalidator functionality for the Hytale server.

java.lang.Object > IntArrayValidator > IntSequenceValidator

Field Summary

value

final int value

Field value.

handle

final MethodHandle handle

Field handle.

Method Detail

IntSequenceValidator

public private IntSequenceValidator (final RelationalOperator relationLower, final int lower, final RelationalOperator relationUpper, final int upper, final RelationalOperator relationSequence)

Method IntSequenceValidator.

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

between01

static IntSequenceValidator between01 ()

Method between01.

between01WeaklyMonotonic

static IntSequenceValidator between01WeaklyMonotonic ()

Method between01WeaklyMonotonic.

between01Monotonic

static IntSequenceValidator between01Monotonic ()

Method between01Monotonic.

between

static IntSequenceValidator between (final int lower, final int upper)

Method between.

Parameters:
final int lower
final int upper

betweenWeaklyMonotonic

static IntSequenceValidator betweenWeaklyMonotonic (final int lower, final int upper)

Method betweenWeaklyMonotonic.

Parameters:
final int lower
final int upper

betweenMonotonic

static IntSequenceValidator betweenMonotonic (final int lower, final int upper)

Method betweenMonotonic.

Parameters:
final int lower
final int upper

fromExclToIncl

static IntSequenceValidator fromExclToIncl (final int lower, final int upper)

Method fromExclToIncl.

Parameters:
final int lower
final int upper

fromExclToInclWeaklyMonotonic

static IntSequenceValidator fromExclToInclWeaklyMonotonic (final int lower, final int upper)

Method fromExclToInclWeaklyMonotonic.

Parameters:
final int lower
final int upper

fromExclToInclMonotonic

static IntSequenceValidator fromExclToInclMonotonic (final int lower, final int upper)

Method fromExclToInclMonotonic.

Parameters:
final int lower
final int upper

test

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

Method test.

Parameters:
@Nonnull final int[] values

errorMessage

public String errorMessage (final int[] value)

Method errorMessage.

Parameters:
final int[] value

errorMessage0

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

Method errorMessage0.

Parameters:
final int[] value
final String name

handle

static MethodHandle handle ()

Method handle.

ensureHandle

static MethodHandle ensureHandle ()

Method ensureHandle.

invoke

static String invoke (String p0, int p1)

Method invoke.

Parameters:
String p0
int p1