DoubleOrValidator

public class DoubleOrValidator extends DoubleValidator

Class DoubleOrValidator. Provides doubleorvalidator functionality for the Hytale server.

java.lang.Object > DoubleValidator > DoubleOrValidator

Field Summary

No fields documented.

Method Detail

DoubleOrValidator

public private DoubleOrValidator (final RelationalOperator relationOne, final double valueOne, final RelationalOperator relationTwo, final double valueTwo)

Method DoubleOrValidator.

Parameters:
final RelationalOperator relationOne
final double valueOne
final RelationalOperator relationTwo
final double valueTwo

test

public boolean test (final double value)

Method test.

Parameters:
final double value

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

greaterEqual0OrMinus1

static DoubleOrValidator greaterEqual0OrMinus1 ()

Method greaterEqual0OrMinus1.