Skip to content

Instantly share code, notes, and snippets.

View alexsobiek's full-sized avatar
👋

Alex S alexsobiek

👋
View GitHub Profile

Keybase proof

I hereby claim:

  • I am alexsobiek on github.
  • I am alexsobiek (https://keybase.io/alexsobiek) on keybase.
  • I have a public key ASDgGqrqdgaEEP4XnbDshy7gIZzlGx1FPPRAupSAIoLC-go

To claim this, I am signing this object:

@alexsobiek
alexsobiek / JavaEnumConfig.md
Last active April 22, 2021 08:42
Super simple Java configuration using an enum

Java Enum Config

I created this simple java configuration enum and utility class to easily retrieve and set config values.

Code

Config.java

public enum Config {
    AGE(10),
    HELLO_WORLD("Hello World");