Class StatisticType<T>

java.lang.Object
dev.despical.kotl.stats.StatisticType<T>

public abstract class StatisticType<T> extends Object
  • Constructor Details

    • StatisticType

      public StatisticType(String key, T defaultValue, Class<T> type)
  • Method Details

    • serialize

      public Object serialize(T value)
    • deserialize

      public T deserialize(Object value)
    • parse

      protected T parse(String value)
    • isPersistent

      public boolean isPersistent()