mirror of
https://github.com/kennethreitz-archive/solarized.git
synced 2026-06-05 23:40:17 +00:00
new screenshots and revisions to README for website
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
import java.util.Map;
|
||||
import java.util.TreeSet;
|
||||
|
||||
public class GetEnv {
|
||||
/**
|
||||
* let's test generics
|
||||
* @param args the command line arguments
|
||||
*/
|
||||
public static void main(String[] args) {
|
||||
// get a map of environment variables
|
||||
Map<String, String> env = System.getenv();
|
||||
// build a sorted set out of the keys and iterate
|
||||
for(String k: new TreeSet<String>(env.keySet())) {
|
||||
System.out.printf("%s = %s\n", k, env.get(k));
|
||||
}
|
||||
} }
|
||||
Reference in New Issue
Block a user