Class StringMapConverter<T>

    • Constructor Detail

      • StringMapConverter

        public StringMapConverter()
    • Method Detail

      • toValue

        protected abstract T toValue​(Object value)
      • toRawValue

        protected abstract Object toRawValue​(Object value)
      • convert

        public Map<String,​T> convert​(Object raw)
        Specified by:
        convert in interface me.hsgamer.hscore.config.annotation.converter.Converter
      • convertToRaw

        public Map<String,​Object> convertToRaw​(Object value)
        Specified by:
        convertToRaw in interface me.hsgamer.hscore.config.annotation.converter.Converter