Skip to content

Latest commit

 

History

History
25 lines (19 loc) · 960 Bytes

README.md

File metadata and controls

25 lines (19 loc) · 960 Bytes

Utility to encode list of numbers into string. For that in memory table is created where each number represents a character. To add some security custom seed must be set.

Highly customizable to set own characters or include just strings or even only numbers.

See

And usage is described at

Usually I create my enums as:

public enum MyEnum {
    first,
    second,
    third;

    static final Function<String, Optional<MyEnum>> LOOKUP = EnumLookupBuilder.buildCaseInsensitive(MyEnum.class);
    static Optional<MyEnum> lookup(String key) {
        return LOOKUP.apply(key);
    }
}