public class WrappedStatistic extends AbstractWrapper
handle, handleType| Modifier and Type | Method and Description |
|---|---|
static WrappedStatistic |
fromHandle(Object handle)
Construct a new wrapper from a given underlying statistics.
|
static WrappedStatistic |
fromName(String name)
Construct a wrapper around an existing game profile.
|
String |
getName()
Retrieve the unique name of this statistic.
|
String |
toString() |
static Iterable<WrappedStatistic> |
values()
Retrieve every known statistics.
|
equals, getHandle, getHandleType, hashCode, setHandlepublic static WrappedStatistic fromHandle(Object handle)
handle - - the statistics.public static WrappedStatistic fromName(String name)
name - - statistic name.public static Iterable<WrappedStatistic> values()
public String getName()
public String toString()
toString in class AbstractWrapperCopyright © 2012–2017 Comphenix and dmulloy2. Licensed under the GNU GPL v2.