public class Test { public static void main (String args[]) { Pair<String,String> pair = new Pair<String,String>("one","two"); } }