Snippets has posted 5883 posts at DZone. View Full User Profile
Works with varargs in Java 1.6
List<String> list = java.util.Arrays.asList("foo");
List list = java.util.Collections.singletonList("foo");
DZone's 170th Refcard is an essential reference to Camel, an open-source, lightweight, integration library. This Refcard is authored by...