public void put(final String name, final short val) { find(name).setShort(val); }
public void writeFields() throws IOException { final RiverPutField putField = this.putField; if (putField == null) { throw new NotActiveException("no current PutField object"); } if (! compareAndSetState(UNWRITTEN_FIELDS, ON)) { throw new NotActiveException("writeFields() may only be called when the fields have not yet been written"); } this.putField = null; putField.write(marshaller); }
putField = new RiverPutField(fields, names);
putField = new RiverPutField(fields, names);
public void put(final String name, final double val) { find(name).setDouble(val); }
public void writeFields() throws IOException { final RiverPutField putField = this.putField; if (putField == null) { throw new NotActiveException("no current PutField object"); } if (! state.compareAndSet(State.UNWRITTEN_FIELDS, State.ON)) { throw new NotActiveException("writeFields() may only be called when the fields have not yet been written"); } this.putField = null; putField.write(marshaller); }
putField = new RiverPutField(fields, names);
public void put(final String name, final char val) { find(name).setChar(val); }
public void writeFields() throws IOException { final RiverPutField putField = this.putField; if (putField == null) { throw new NotActiveException("no current PutField object"); } if (! compareAndSetState(UNWRITTEN_FIELDS, ON)) { throw new NotActiveException("writeFields() may only be called when the fields have not yet been written"); } this.putField = null; putField.write(marshaller); }
putField = new RiverPutField(fields, names);
public void put(final String name, final int val) { find(name).setInt(val); }
public void writeFields() throws IOException { final RiverPutField putField = this.putField; if (putField == null) { throw new NotActiveException("no current PutField object"); } if (! compareAndSetState(UNWRITTEN_FIELDS, ON)) { throw new NotActiveException("writeFields() may only be called when the fields have not yet been written"); } this.putField = null; putField.write(marshaller); }
putField = new RiverPutField(fields, names);
public void put(final String name, final long val) { find(name).setLong(val); }
public void writeFields() throws IOException { final RiverPutField putField = this.putField; if (putField == null) { throw new NotActiveException("no current PutField object"); } if (! compareAndSetState(UNWRITTEN_FIELDS, ON)) { throw new NotActiveException("writeFields() may only be called when the fields have not yet been written"); } this.putField = null; putField.write(marshaller); }
putField = new RiverPutField(fields, names);
public void put(final String name, final boolean val) { find(name).setBoolean(val); }
public void writeFields() throws IOException { final RiverPutField putField = this.putField; if (putField == null) { throw new NotActiveException("no current PutField object"); } if (! compareAndSetState(UNWRITTEN_FIELDS, ON)) { throw new NotActiveException("writeFields() may only be called when the fields have not yet been written"); } this.putField = null; putField.write(marshaller); }
putField = new RiverPutField(fields, names);
public void put(final String name, final Object val) { find(name).setObject(val); }