Code example for ObjectInput

Methods: readBoolean

0
        this.value = value;
    } 
 
    public void readExternal(ObjectInput in) throws IOException,
                                            ClassNotFoundException {
        value = in.readBoolean();
    } 
 
    public void writeExternal(ObjectOutput out) throws IOException {
        out.writeBoolean( value );
    } 
 
    public boolean getValue(final Tuple tuple,
                            final Declaration[] declrs,
                            final RuleImpl rule,
                            final WorkingMemory workingMemory) {
        return this.value;
    } 
 
    public String toString() {
Connect your IDE to all the code out there  Get Codota for Java