Package org.agilewiki.jid.collection.vlenc

Examples of org.agilewiki.jid.collection.vlenc.ListJidFactory


        factory.registerActorFactory(new BListJidFactory(INTEGER_BLIST_JID_TYPE, IntegerJidFactory.fac));
        factory.registerActorFactory(new BListJidFactory(FLOAT_BLIST_JID_TYPE, FloatJidFactory.fac));
        factory.registerActorFactory(new BListJidFactory(DOUBLE_BLIST_JID_TYPE, DoubleJidFactory.fac));
        factory.registerActorFactory(new BListJidFactory(BOOLEAN_BLIST_JID_TYPE, BooleanJidFactory.fac));

        factory.registerActorFactory(new ListJidFactory(STRING_LIST_JID_TYPE, StringJidFactory.fac));
        factory.registerActorFactory(new ListJidFactory(BYTES_LIST_JID_TYPE, BytesJidFactory.fac));
        factory.registerActorFactory(new ListJidFactory(ACTOR_LIST_JID_TYPE, ActorJidFactory.fac));
        factory.registerActorFactory(new ListJidFactory(LONG_LIST_JID_TYPE, LongJidFactory.fac));
        factory.registerActorFactory(new ListJidFactory(INTEGER_LIST_JID_TYPE, IntegerJidFactory.fac));
        factory.registerActorFactory(new ListJidFactory(FLOAT_LIST_JID_TYPE, FloatJidFactory.fac));
        factory.registerActorFactory(new ListJidFactory(DOUBLE_LIST_JID_TYPE, DoubleJidFactory.fac));
        factory.registerActorFactory(new ListJidFactory(BOOLEAN_LIST_JID_TYPE, BooleanJidFactory.fac));

        factory.registerActorFactory(new StringMapJidFactory(STRING_STRING_MAP_JID_TYPE, StringJidFactory.fac));
        factory.registerActorFactory(new StringMapJidFactory(STRING_BYTES_MAP_JID_TYPE, BytesJidFactory.fac));
        factory.registerActorFactory(new StringMapJidFactory(STRING_ACTOR_MAP_JID_TYPE, ActorJidFactory.fac));
        factory.registerActorFactory(new StringMapJidFactory(STRING_LONG_MAP_JID_TYPE, LongJidFactory.fac));
View Full Code Here


        long t0 = System.currentTimeMillis();
        int j = 0;

        while (j < repeat) {
            ReadableBytes rb = new ReadableBytes(bytes, 0);
            ListJid blj = (ListJid) (new ListJidFactory(JidFactories.BOOLEAN_LIST_JID_TYPE, BooleanJidFactory.fac)).
                    newActor(getMailbox(), getParent());
            blj.load(rb);
            BooleanJid bj = (BooleanJid) blj.iGet(j);
            bj.setValue(true);
            bytes = blj.getSerializedBytes();
View Full Code Here

        list.empty();
        long t0 = System.currentTimeMillis();
        int j = 0;
        while (j < repeat) {
            ReadableBytes rb = new ReadableBytes(bytes, 0);
            ListJid blj = (ListJid) (new ListJidFactory(JidFactories.STRING_LIST_JID_TYPE, StringJidFactory.fac)).newActor(getMailbox(), getParent());
            blj.load(rb);
            j += 1;
        }
        long t1 = System.currentTimeMillis();
        return t1 - t0;
View Full Code Here

TOP

Related Classes of org.agilewiki.jid.collection.vlenc.ListJidFactory

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.