Example usage for java.io ObjectInput readBoolean

List of usage examples for java.io ObjectInput readBoolean

Introduction

In this page you can find the example usage for java.io ObjectInput readBoolean.

Prototype

boolean readBoolean() throws IOException;

Source Link

Document

Reads one input byte and returns true if that byte is nonzero, false if that byte is zero.

Usage

From source file:com.enonic.cms.core.portal.instruction.PostProcessInstruction.java

protected boolean readBoolean(ObjectInput in) throws IOException {
    return in.readBoolean();
}

From source file:MutableBoolean.java

public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException {
    this.value = in.readBoolean();
}

From source file:Clock.java

public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException {
    setDigital(in.readBoolean());
    setBackground((Color) in.readObject());
    setForeground((Color) in.readObject());
    setPreferredSize((Dimension) in.readObject());
}

From source file:org.hyperic.hq.transport.util.AsynchronousInvocationHandler.java

/**
 * Subclasses should only extend this method, never override it.
 * /*from  w  ww  .ja  va 2s. c  om*/
 * @see java.io.Externalizable#readExternal(java.io.ObjectInput)
 */
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException {
    _guaranteed = in.readBoolean();
}

From source file:com.splicemachine.derby.stream.function.TableScanQualifierFunction.java

@Override
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException {
    super.readExternal(in);
    if (in.readBoolean())
        optionalProbeValue = (DataValueDescriptor) in.readObject();
}

From source file:com.splicemachine.derby.stream.function.MergeAllAggregatesFlatMapFunction.java

@Override
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException {
    super.readExternal(in);
    returnDefault = in.readBoolean();
}

From source file:com.delphix.session.service.ServiceName.java

@Override
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException {
    super.readExternal(in);

    name = in.readUTF();//from  www.j  av  a  2  s  .c  o  m
    ephemeral = in.readBoolean();
}

From source file:org.ihtsdo.otf.tcc.ddo.TimeReference.java

@Override
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException {
    time = in.readLong();/*from w ww  .ja va 2  s. c  o  m*/

    if (in.readBoolean()) {
        String formatPattern = in.readUTF();

        formatter = TimeHelper.getFormatter(formatPattern);
    }
}

From source file:com.splicemachine.derby.stream.output.PipelineWriterBuilder.java

@Override
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException {
    txn = SIDriver.driver().getOperationFactory().readTxn(in);
    heapConglom = in.readLong();/*from  w  ww  .ja  va  2  s  .com*/
    skipIndex = in.readBoolean();
}

From source file:xbird.xquery.expr.func.LazyFunctionCall.java

@Override
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException {
    super.readExternal(in);
    this._inlined = in.readBoolean();
}