out.write( coords.hashCode() );
out.write( Integer.toString(coords.hashCode()) );
    public static void encode( Coords coords, Writer out )        throws IOException    {        // First, validate our input.        if ( null == coords ) {            throw new IllegalArgumentException( "The coords is null." );        }        if ( null == out ) {            throw new IllegalArgumentException( "The writer is null." );        }        // Encode the coords object to the stream.        out.write( "<coords version=\"1.0\" hash=\"" );        out.write( coords.hashCode() );        out.write( "\" />" );    }