Skip to content

Instantly share code, notes, and snippets.

@RichardHightower
Last active April 27, 2016 01:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save RichardHightower/ee1e89ee2fe6fa71cddd6ac08c79714e to your computer and use it in GitHub Desktop.
Save RichardHightower/ee1e89ee2fe6fa71cddd6ac08c79714e to your computer and use it in GitHub Desktop.
interface Config {
    String getString(String path);
    int getInt(String path);
    float getFloat(String path);
    double getDouble(String path);
    long getLong(String path);
    Map<String, Object> getMap(String path);
    <T> T getObject(String path, Class<T> type);
    Config getConfig(String path);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment