Class ArenaConditionVariableValueString
java.lang.Object
de.marcely.bedwars.api.arena.picker.condition.variable.ArenaConditionVariableValue<String>
de.marcely.bedwars.api.arena.picker.condition.variable.ArenaConditionVariableValueString
Represents a condition value of the type String.
-
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
(String entry) Does aArenaConditionComparisonOperator.GREATER_THAN
operation.boolean
greaterThanOrEqual
(String entry) Does aArenaConditionComparisonOperator.GREATER_THAN_OR_EQUAL
operation.boolean
Does aArenaConditionComparisonOperator.LESS_THAN
operation.boolean
lessThanOrEqual
(String 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
-
ArenaConditionVariableValueString
-
-
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<String>
- Returns:
- The type of this equal
-
equal
Description copied from class:ArenaConditionVariableValue
Does aArenaConditionComparisonOperator.EQUAL
operation.- Specified by:
equal
in classArenaConditionVariableValue<String>
- 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<String>
- 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<String>
- 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<String>
- 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<String>
- 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<String>
- Parameters:
entry
- The second value of the same type- Returns:
true
in case the operation succeded
-
toString
-