Refine search
@Override public void safeValue(int key, double value) throws IOException { out.writeInt(key); out.writeDouble(value); } });
@Override public void safeValue(double item, int count) throws IOException { out.writeDouble(item); out.writeInt(count); } });
public void writeExternal(ObjectOutput out) throws IOException { out.writeInt(this.size); for (int i = 0; i < this.size; i++) { out.writeDouble(this.items[i]); } }
@Override public void safeValue(double key, int value) throws IOException { out.writeDouble(key); out.writeInt(value); } });
@Override public void safeValue(int key, double value) throws IOException { out.writeInt(key); out.writeDouble(value); } });
@Override public void writeExternal(ObjectOutput out) throws IOException { out.writeInt(this.size); for (int i = 0; i < this.size; i++) { out.writeDouble(this.items[i]); } }
@Override public void safeValue(double key, int value) throws IOException { out.writeDouble(key); out.writeInt(value); } });
@Override public void safeValue(double item, int count) throws IOException { out.writeDouble(item); out.writeInt(count); } });
@Override public void writeExternal(ObjectOutput out) throws IOException { out.writeInt(this.size); for (int i = 0; i < this.size; i++) { out.writeDouble(this.items[i]); } }
@Override public void safeValue(int key, double value) throws IOException { out.writeInt(key); out.writeDouble(value); } });
@Override public void safeValue(double key, int value) throws IOException { out.writeDouble(key); out.writeInt(value); } });
@Override public void safeValue(double item, int count) throws IOException { out.writeDouble(item); out.writeInt(count); } });
public void value(double each, int occurrences) { try { out.writeDouble(each); out.writeInt(occurrences); } catch (IOException e) { throw new RuntimeException(e); } } });
public void writeExternal( ObjectOutput out ) throws IOException { // VERSION out.writeByte( 0 ); // POSITION out.writeInt( _pos ); // NO_ENTRY_VALUE out.writeDouble( no_entry_value ); // ENTRIES int len = _data.length; out.writeInt( len ); for( int i = 0; i < len; i++ ) { out.writeDouble( _data[ i ] ); } }
/** {@inheritDoc} */ @Override protected void writeExternalData(ObjectOutput out) throws IOException { out.writeLong(minTime); out.writeLong(maxTime); out.writeDouble(avgTime); out.writeInt(execs); out.writeInt(fails); }
/** {@inheritDoc} */ public void writeExternal( ObjectOutput out ) throws IOException { // VERSION out.writeByte( 0 ); // SUPER super.writeExternal( out ); // NO_ENTRY_KEY out.writeDouble( no_entry_key ); // NO_ENTRY_VALUE out.writeInt( no_entry_value ); }
/** {@inheritDoc} */ public void writeExternal( ObjectOutput out ) throws IOException { // VERSION out.writeByte( 0 ); // SUPER super.writeExternal( out ); // NO_ENTRY_KEY out.writeInt( no_entry_key ); // NO_ENTRY_VALUE out.writeDouble( no_entry_value ); }
/** {@inheritDoc} */ @Override public void writeExternal(final ObjectOutput out) throws IOException { final int dimension = (currentState == null) ? -1 : currentState.length; // save the state of the base class writeBaseExternal(out); // save the local attributes (but not the temporary vectors) out.writeInt(currentDegree); for (int k = 0; k <= currentDegree; ++k) { for (int l = 0; l < dimension; ++l) { out.writeDouble(polynomials[k][l]); } } }
/** {@inheritDoc} */ public void writeExternal(ObjectOutput out) throws IOException { // VERSION out.writeByte( 0 ); // SUPER super.writeExternal( out ); // NUMBER OF ENTRIES out.writeInt( _size ); // ENTRIES for ( int i = _states.length; i-- > 0; ) { if ( _states[i] == FULL ) { out.writeDouble( _set[i] ); out.writeByte( _values[i] ); } } }
/** {@inheritDoc} */ public void writeExternal(ObjectOutput out) throws IOException { // VERSION out.writeByte( 0 ); // SUPER super.writeExternal( out ); // NUMBER OF ENTRIES out.writeInt( _size ); // ENTRIES for ( int i = _states.length; i-- > 0; ) { if ( _states[i] == FULL ) { out.writeByte( _set[i] ); out.writeDouble( _values[i] ); } } }