Examples of readBoolean()


Examples of com.firefly.utils.json.io.JsonStringReader.readBoolean()

    Assert.assertThat(reader.isObject(), is(true));
    char[] t1 = "dsffsfsf".toCharArray();
    char[] ret = reader.readField(t1);
    Assert.assertThat(new String(ret), is("testField"));
    Assert.assertThat(reader.isColon(), is(true));
    Assert.assertThat(reader.readBoolean(), is(true));
    char ch = reader.readAndSkipBlank();
    Assert.assertThat(ch, is('}'));
    reader.close();
  }
 
View Full Code Here

Examples of com.google.common.io.ByteArrayDataInput.readBoolean()

        ByteArrayDataInput input = ByteStreams.newDataInput(ByteStreams.toByteArray(jis));
       
        String name = input.readUTF();
        String sourceClassName = input.readUTF();
        String targetClassName = input.readUTF();
        boolean exists = input.readBoolean();
        int inputChecksum = 0;
        if (exists)
        {
            inputChecksum = input.readInt();
        }
View Full Code Here

Examples of com.hazelcast.nio.ObjectDataInput.readBoolean()

    public void read(PortableReader reader) throws IOException {
        super.read(reader);
        ObjectDataInput in = reader.getRawDataInput();
        options = new TransactionOptions();
        options.readData(in);
        boolean sXidNotNull = in.readBoolean();
        if (sXidNotNull) {
            sXid = new SerializableXID();
            sXid.readData(in);
        }
View Full Code Here

Examples of com.higherfrequencytrading.chronicle.Excerpt.readBoolean()

        excerpt.writeBoolean(false);
        excerpt.writeBoolean(true);
        excerpt.finish();

        excerpt.index(0);
        boolean one = excerpt.readBoolean();
        boolean onetwo = excerpt.readBoolean();
        tsc.close();

        Assert.assertEquals(false, one);
        Assert.assertEquals(true, onetwo);
View Full Code Here

Examples of com.higherfrequencytrading.chronicle.Excerpt.readBoolean()

        excerpt.writeBoolean(true);
        excerpt.finish();

        excerpt.index(0);
        boolean one = excerpt.readBoolean();
        boolean onetwo = excerpt.readBoolean();
        tsc.close();

        Assert.assertEquals(false, one);
        Assert.assertEquals(true, onetwo);
    }
View Full Code Here

Examples of com.jme3.export.InputCapsule.readBoolean()

        oc.write(spatial, "spatial", null);
    }

    public void read(JmeImporter im) throws IOException {
        InputCapsule ic = im.getCapsule(this);
        enabled = ic.readBoolean("enabled", true);
        spatial = (Spatial) ic.readSavable("spatial", null);
    }

    public Control cloneForSpatial(Spatial spatial) {
        throw new UnsupportedOperationException("Not supported yet.");
View Full Code Here

Examples of com.maverick.util.ByteArrayReader.readBoolean()

      return true;
   
    ByteArrayReader msg = new ByteArrayReader(request.getRequestData());
   
    // If this was a server side the no further processing is required
    boolean serverSide = msg.readBoolean();
    if(serverSide) {
      // #ifdef DEBUG
      log.info("Server side launch. No further processing required.");
      // #endif
      return false;
View Full Code Here

Examples of com.maverick.util.ByteArrayReader.readBoolean()

     * @see com.maverick.multiplex.Channel#open(byte[])
     */
    public byte[] open(byte[] data) throws IOException, ChannelOpenException {

        ByteArrayReader reader = new ByteArrayReader(data);
        initiator = reader.readBoolean();
        id = reader.readString();
        // #ifdef DEBUG
        log.debug("Opening. Id is '" + id + "', initiator is '" + initiator + "'");
        // #endif

View Full Code Here

Examples of com.peterhi.obsolete.Stream.readBoolean()

    }
   
    try {
      Stream stream = new Stream();
      stream.writeBit(1);
      stream.readBoolean();
      fail();
    } catch (InsufficientBufferException ex) {
    }
  }
 
View Full Code Here

Examples of com.sleepycat.bind.tuple.TupleInput.readBoolean()

                                  final DatabaseImpl nodeDb) {
        final TupleInput in = new TupleInput(this);
        while (in.available() > 0) {
            final long fileNumber = in.readPackedLong();
            long fileOffset = in.readPackedLong();
            final boolean isObsoleteLN = in.readBoolean();
            final int obsoleteSize = in.readPackedInt();
            tracker.countObsoleteNode
                (DbLsn.makeLsn(fileNumber, fileOffset),
                 isObsoleteLN ?
                 LogEntryType.LOG_INS_LN /* Any LN type will do */ :
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.