
src.samples.java.ex.DSOC_Sample Maven / Gradle / Ivy
package ex;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
public class DSOC_Sample {
public void testSetOfLists() {
List l = new ArrayList();
Set> s = new HashSet>();
s.add(l);
}
public void testKeySetOfSets() {
Set s = new HashSet();
Map, String> m = new HashMap, String>();
m.put(s, "Foo");
}
public void testFPListOfSets() {
Set s = new HashSet();
List> l = new ArrayList>();
l.add(s);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy