Skip to content

Instantly share code, notes, and snippets.

@s1gtrap
Last active November 4, 2015 04:12
Show Gist options
  • Save s1gtrap/db7cc8e637476a07943e to your computer and use it in GitHub Desktop.
Save s1gtrap/db7cc8e637476a07943e to your computer and use it in GitHub Desktop.
LightRange[] defaultRanges = {
new LightRange({2,3}, 4.4, "something", 4),
new LightRange({4,6}, 4.8, "something", 7),
new LightRange({6,9}, 5.4, "something", 9)
};
defaultRanges.forEach(s -> {
s.intlist = config.get('intlist stuff').getIntList();
s.floatthing = (float)config.get('double stuff').getDouble();
s.stringy = config.get('strang').getString();
s.intttt = config.get('intt').getInt();
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment