Package org.apache.commons.collections.primitives

Examples of org.apache.commons.collections.primitives.ArrayCharList


    // collections testing framework
    // ------------------------------------------------------------------------

    protected Object makeObject() {
        CharList list = new ArrayCharList();
        for(int i=0;i<10;i++) {
            list.add((char)i);
        }
        return new CharCollectionCollection(list);
    }
View Full Code Here


    public void testWrapNull() {
        assertNull(CharCollectionCollection.wrap(null));
    }
   
    public void testWrapSerializable() {
        Collection collection = CharCollectionCollection.wrap(new ArrayCharList());
        assertNotNull(collection);
        assertTrue(collection instanceof Serializable);
    }
View Full Code Here

TOP

Related Classes of org.apache.commons.collections.primitives.ArrayCharList

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.