Package org.apache.commons.collections.primitives

Examples of org.apache.commons.collections.primitives.RandomAccessFloatList$ComodChecker


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


        assertNotNull(list);
        assertTrue(list instanceof Serializable);
    }
   
    public void testWrapNonSerializable() {
        List list = FloatListList.wrap(new RandomAccessFloatList() {
            public float get(int i) { throw new IndexOutOfBoundsException(); }
            public int size() { return 0; }
        });
        assertNotNull(list);
        assertTrue(!(list instanceof Serializable));
View Full Code Here

TOP

Related Classes of org.apache.commons.collections.primitives.RandomAccessFloatList$ComodChecker

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.