public class IntProperty extends AbstractProperty<Integer>
Modifier and Type | Field and Description |
---|---|
private ImmutableSet<Integer> |
values |
Modifier | Constructor and Description |
---|---|
protected |
IntProperty(String name,
int min,
int max) |
Modifier and Type | Method and Description |
---|---|
int |
computeHashCode() |
boolean |
equals(Object obj) |
Collection<Integer> |
getValues() |
String |
name(Integer integer) |
static IntProperty |
of(String name,
int min,
int max) |
Optional<Integer> |
parse(String name) |
getName, getType, hashCode, toString
private final ImmutableSet<Integer> values
protected IntProperty(String name, int min, int max)
public Collection<Integer> getValues()
public boolean equals(Object obj)
equals
in class AbstractProperty<Integer>
public int computeHashCode()
computeHashCode
in class AbstractProperty<Integer>
public static IntProperty of(String name, int min, int max)