Code example for ObjectOutput

Methods: writeBoolean

0
        super.readExternal( in );
        breaking = in.readBoolean();
    } 
 
    public void writeExternal(ObjectOutput out) throws IOException {
        super.writeExternal( out );
        out.writeBoolean( breaking );
    } 
 
    public String getName() {
        return getText(); 
    } 
 
    public void setName( String name) {
        setText( name );
    } 
 
    public boolean isBreaking() { 
        return breaking;
    }