Examples of IntegerSerializer


Examples of com.hazelcast.nio.serialization.ConstantSerializers.IntegerSerializer

        registerConstant(Portable.class, portableSerializerAdapter);
        registerConstant(Byte.class, new ByteSerializer());
        registerConstant(Boolean.class, new BooleanSerializer());
        registerConstant(Character.class, new CharSerializer());
        registerConstant(Short.class, new ShortSerializer());
        registerConstant(Integer.class, new IntegerSerializer());
        registerConstant(Long.class, new LongSerializer());
        registerConstant(Float.class, new FloatSerializer());
        registerConstant(Double.class, new DoubleSerializer());
        registerConstant(byte[].class, new TheByteArraySerializer());
        registerConstant(char[].class, new CharArraySerializer());
View Full Code Here

Examples of com.hazelcast.nio.serialization.ConstantSerializers.IntegerSerializer

        registerConstant(Portable.class, portableSerializerAdapter);
        registerConstant(Byte.class, new ByteSerializer());
        registerConstant(Boolean.class, new BooleanSerializer());
        registerConstant(Character.class, new CharSerializer());
        registerConstant(Short.class, new ShortSerializer());
        registerConstant(Integer.class, new IntegerSerializer());
        registerConstant(Long.class, new LongSerializer());
        registerConstant(Float.class, new FloatSerializer());
        registerConstant(Double.class, new DoubleSerializer());
        registerConstant(byte[].class, new TheByteArraySerializer());
        registerConstant(char[].class, new CharArraySerializer());
View Full Code Here

Examples of com.netflix.zeno.serializer.common.IntegerSerializer

    FastBlobTypeSerializationState<Integer> srcState;
    FastBlobTypeSerializationState<Integer> destState;

    @Before
    public void setUp() {
        srcState = new FastBlobTypeSerializationState<Integer>(new IntegerSerializer(), 2);
        destState = new FastBlobTypeSerializationState<Integer>(new IntegerSerializer(), 2);
    }
View Full Code Here

Examples of com.netflix.zeno.serializer.common.IntegerSerializer

        map.put(1, new TypeA(0, 1));
        map.put(2, new TypeA(2, 3));

        JsonSerializationFramework jsonFramework = new JsonSerializationFramework(new SerializerFactory() {
            public NFTypeSerializer<?>[] createSerializers() {
                return new NFTypeSerializer<?>[] { new TypeASerializer(), new IntegerSerializer() };
            }
        });

        String json = jsonFramework.serializeJsonMap(IntegerSerializer.NAME, "TypeA", map, true);
View Full Code Here

Examples of com.netflix.zeno.serializer.common.IntegerSerializer

    @Override
    public Collection<NFTypeSerializer<?>> requiredSubSerializers() {
        return serializers(
                new ListSerializer<A>("ListOfAs", new ASerializer()),
                new SetSerializer<B>("SetOfBs", new BSerializer()),
                new MapSerializer<Integer, C>("MapOfCs", new IntegerSerializer(), new CSerializer())
        );
    }
View Full Code Here

Examples of jdbm.helper.IntegerSerializer

        SerializableComparator<String> comparator = new SerializableComparator<String>(
            SchemaConstants.INTEGER_ORDERING_MATCH_MR_OID );
        comparator.setSchemaManager( schemaManager );

        new JdbmTable<String, String>( schemaManager, "test", SIZE, recman,
            null, comparator, null, new IntegerSerializer() );
    }
View Full Code Here

Examples of jdbm.helper.IntegerSerializer

        SerializableComparator<String> comparator = new SerializableComparator<String>(
            SchemaConstants.INTEGER_ORDERING_MATCH_MR_OID );
        comparator.setSchemaManager( schemaManager );

        new JdbmTable<String, String>( schemaManager, "test", SIZE, recman,
            comparator, null, null, new IntegerSerializer() );
    }
View Full Code Here

Examples of jdbm.helper.IntegerSerializer

            tmpDir = new File( System.getProperty( TEST_OUTPUT_PATH ) );
        }

        dbFile = File.createTempFile( getClass().getSimpleName(), "db", tmpDir );
        recman = new BaseRecordManager( dbFile.getAbsolutePath() );
        bt = new BTree<Integer, Integer>( recman, new IntegerComparator(), new IntegerSerializer(),
            new IntegerSerializer() );
        LOG.debug( "created new BTree" );
    }
View Full Code Here

Examples of jdbm.helper.IntegerSerializer

        SerializableComparator<String> comparator = new SerializableComparator<String>( SchemaConstants.INTEGER_ORDERING_MATCH_MR_OID );
        comparator.setSchemaManager( schemaManager );

        new JdbmTable<String,String>( schemaManager, "test", SIZE, recman,
            null, comparator, null, new IntegerSerializer() );
    }
View Full Code Here

Examples of jdbm.helper.IntegerSerializer

        SerializableComparator<String> comparator = new SerializableComparator<String>( SchemaConstants.INTEGER_ORDERING_MATCH_MR_OID );
        comparator.setSchemaManager( schemaManager );

        new JdbmTable<String,String>( schemaManager, "test", SIZE, recman,
            comparator, null, null, new IntegerSerializer() );
    }
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.