Code example for Vector

Methods: addElementcontains

0
    public SplitterException() { 
        // empty constructor 
    } 
 
    public void add(OutputStream s, Exception e) {
        if (streams.contains(s)) {
            System.err.println("AAA, stream was already in splitter exception");
        } 
 
        streams.addElement(s);
        exceptions.addElement(e);
    } 
 
    public int count() { 
        return streams.size();
    } 
 
    public OutputStream[] getStreams() {
    	OutputStream[] ret = new OutputStream[streams.size()];
    	for (int i = 0; i < streams.size(); i++) {
Stop searching for code, let great code find you!  Add Codota to your java IDE