Class ArenaConditionVariableValueNumber
java.lang.Object
de.marcely.bedwars.api.arena.picker.condition.variable.ArenaConditionVariableValue<Float>
de.marcely.bedwars.api.arena.picker.condition.variable.ArenaConditionVariableValueNumber
Represents a numberic condition value.
-
Field Summary
Fields inherited from class de.marcely.bedwars.api.arena.picker.condition.variable.ArenaConditionVariableValue
entry, TYPE_NUMBER, TYPE_STRING
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Does aArenaConditionComparisonOperator.EQUAL
operation.byte
getType()
The type of this class.boolean
greaterThan
(Float entry) Does aArenaConditionComparisonOperator.GREATER_THAN
operation.boolean
greaterThanOrEqual
(Float entry) Does aArenaConditionComparisonOperator.GREATER_THAN_OR_EQUAL
operation.boolean
Does aArenaConditionComparisonOperator.LESS_THAN
operation.boolean
lessThanOrEqual
(Float entry) Does aArenaConditionComparisonOperator.LESS_THAN_OR_EQUAL
operation.boolean
Does aArenaConditionComparisonOperator.NOT_EQUAL
operation.toString()
Methods inherited from class de.marcely.bedwars.api.arena.picker.condition.variable.ArenaConditionVariableValue
check, getEntry
-
Constructor Details
-
ArenaConditionVariableValueNumber
public ArenaConditionVariableValueNumber(float entry)
-
-
Method Details
-
getType
public byte getType()Description copied from class:ArenaConditionVariableValue
The type of this class.You may find them as fields within this class, e.g.
ArenaConditionVariableValue.TYPE_NUMBER
.- Specified by:
getType
in classArenaConditionVariableValue<Float>
- Returns:
- The type of this equal
-
equal
Description copied from class:ArenaConditionVariableValue
Does aArenaConditionComparisonOperator.EQUAL
operation.- Specified by:
equal
in classArenaConditionVariableValue<Float>
- Parameters:
entry
- The second value of the same type- Returns:
true
in case the operation succeded
-
notEqual
Description copied from class:ArenaConditionVariableValue
Does aArenaConditionComparisonOperator.NOT_EQUAL
operation.- Specified by:
notEqual
in classArenaConditionVariableValue<Float>
- Parameters:
entry
- The second value of the same type- Returns:
true
in case the operation succeded
-
greaterThan
Description copied from class:ArenaConditionVariableValue
Does aArenaConditionComparisonOperator.GREATER_THAN
operation.- Specified by:
greaterThan
in classArenaConditionVariableValue<Float>
- Parameters:
entry
- The second value of the same type- Returns:
true
in case the operation succeded
-
lessThan
Description copied from class:ArenaConditionVariableValue
Does aArenaConditionComparisonOperator.LESS_THAN
operation.- Specified by:
lessThan
in classArenaConditionVariableValue<Float>
- Parameters:
entry
- The second value of the same type- Returns:
true
in case the operation succeded
-
greaterThanOrEqual
Description copied from class:ArenaConditionVariableValue
Does aArenaConditionComparisonOperator.GREATER_THAN_OR_EQUAL
operation.- Specified by:
greaterThanOrEqual
in classArenaConditionVariableValue<Float>
- Parameters:
entry
- The second value of the same type- Returns:
true
in case the operation succeded
-
lessThanOrEqual
Description copied from class:ArenaConditionVariableValue
Does aArenaConditionComparisonOperator.LESS_THAN_OR_EQUAL
operation.- Specified by:
lessThanOrEqual
in classArenaConditionVariableValue<Float>
- Parameters:
entry
- The second value of the same type- Returns:
true
in case the operation succeded
-
toString
-