Package com.esotericsoftware.kryo.MapSerializerTest

Examples of com.esotericsoftware.kryo.MapSerializerTest.KeyThatIsntComparable


    roundTrip(9, 9, set);

    kryo.register(KeyThatIsntComparable.class);
    kryo.register(KeyComparator.class);
    set = new TreeSet(new KeyComparator());
    set.add(new KeyThatIsntComparable("1"));
    set.add(new KeyThatIsntComparable("2"));
    roundTrip(9, 9, set);
  }
View Full Code Here


    roundTrip(9, 9, set);

    kryo.register(KeyThatIsntComparable.class);
    kryo.register(KeyComparator.class);
    set = new TreeSet(new KeyComparator());
    set.add(new KeyThatIsntComparable("1"));
    set.add(new KeyThatIsntComparable("2"));
    roundTrip(9, 9, set);
   
    kryo.register(TreeSetSubclass.class);
    set = new TreeSetSubclass<Integer>();
    set.add(12);
View Full Code Here

TOP

Related Classes of com.esotericsoftware.kryo.MapSerializerTest.KeyThatIsntComparable

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.