Examples of RandomAccessShortList


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

        assertNotNull(collection);
        assertTrue(collection instanceof Serializable);
    }
   
    public void testWrapNonSerializable() {
        Collection collection = ShortCollectionCollection.wrap(new RandomAccessShortList() {
            public short get(int i) { throw new IndexOutOfBoundsException(); }
            public int size() { return 0; }
        });
        assertNotNull(collection);
        assertTrue(!(collection instanceof Serializable));
View Full Code Here

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

        assertNotNull(list);
        assertTrue(list instanceof Serializable);
    }
   
    public void testWrapNonSerializable() {
        List list = ShortListList.wrap(new RandomAccessShortList() {
            public short get(int i) { throw new IndexOutOfBoundsException(); }
            public int size() { return 0; }
        });
        assertNotNull(list);
        assertTrue(!(list instanceof Serializable));
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.