All Downloads are FREE. Search and download functionalities are using the official Maven repository.

src.samples.java.ex.DSOC_Sample Maven / Gradle / Ivy

Go to download

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.

There is a newer version: 7.6.8
Show 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 - 2024 Weber Informatics LLC | Privacy Policy