Class HSetConfigVariant.Builder<E>
java.lang.Object
com.beansgalaxy.backpacks.config.types.HSetConfigVariant.Builder<E>
- Enclosing class:
- HSetConfigVariant<ENTRY>
-
Method Summary
Modifier and TypeMethodDescriptionstatic <E> HSetConfigVariant.Builder<E>defauString(String defau) Used while indexing through the list written in the json file.
-
Method Details
-
create
public static <E> HSetConfigVariant.Builder<E> create(Function<E, String> encode, Function<String, E> decode) -
comment
-
defau
-
defauString
-
isValid
Used while indexing through the list written in the json file. Passes each entry of the list through before converting it to ENTRY to check if it is valid to be converted.- Parameters:
validate- If false, the list's entry will; be saved back to config, not be converted, and not be used.
-
build
-