public class WrappedStatistic extends AbstractWrapper
handle, handleType
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
static WrappedStatistic |
fromHandle(java.lang.Object handle)
Construct a new wrapper from a given underlying statistics.
|
static WrappedStatistic |
fromName(java.lang.String name)
Construct a wrapper around an existing game profile.
|
java.lang.String |
getName()
Retrieve the unique name of this statistic.
|
int |
hashCode() |
java.lang.String |
toString() |
static java.lang.Iterable<WrappedStatistic> |
values()
Retrieve every known statistics.
|
getHandle, getHandleType, setHandle
public static WrappedStatistic fromHandle(java.lang.Object handle)
handle
- - the statistics.public static WrappedStatistic fromName(java.lang.String name)
profile
- - the underlying profile.public static java.lang.Iterable<WrappedStatistic> values()
public java.lang.String getName()
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object