public abstract class AbstractIntegerProperty extends java.lang.Object implements BattleProperty<java.lang.Integer>
Constructor and Description |
---|
AbstractIntegerProperty() |
Modifier and Type | Method and Description |
---|---|
java.util.Optional<PropertyValue<java.lang.Integer>> |
parse(java.lang.Object o)
Attempts to parse the object into a
PropertyValue
Will return Optional.empty() if fails to parse |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDefault, getId, getInstance, requiredByClient
public java.util.Optional<PropertyValue<java.lang.Integer>> parse(java.lang.Object o)
BattleProperty
PropertyValue
Will return Optional.empty()
if fails to parseparse
in interface BattleProperty<java.lang.Integer>
o
- The object being parsedPropertyValue