
src.samples.java.ex.DSOC_Sample Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fb-contrib Show documentation
Show all versions of fb-contrib Show documentation
An auxiliary findbugs.sourceforge.net plugin for java bug detectors that fall outside the narrow scope of detectors to be packaged with the product itself.
The newest version!
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