Code example for ObjectInput

Methods: readBytereadObject

0
 
    @Override 
    public void readExternal( ObjectInput in )
        throws IOException, ClassNotFoundException { 
 
        super.readExternal( in );
 
        // VERSION 
        in.readByte();
 
        // HASHING STRATEGY 
        //noinspection unchecked 
        _hashingStrategy = ( TObjectHashingStrategy<T> ) in.readObject();
        if ( _hashingStrategy == null ) _hashingStrategy = this;
    } 
} // TObjectHash 
Stop searching for code, let great code find you!  Add Codota to your java IDE