public short[] convertunsignedByte2Short(byte[] inb) {
    """
	Instances which have same content are equal.
	<p/>
	public boolean equals(Object oo) {
	if (this == oo) return true;
	if ( !(oo instanceof Level2Record)) return false;
	return hashCode() == oo.hashCode();
	}
	<p/>
	/** Override Object.hashCode() to implement equals. *
	public int hashCode() {
	if (hashCode == 0) {
	int result = 17;
	result = 37*result + elevation_num;
	//result = 37*result + cut;
	//result = 37*result + datatype;
	hashCode = result;
	}
	return hashCode;
	}
	private volatile int hashCode = 0;
    """
    int len = inb.length;
    short[] outs = new short[len];
    int i = 0;
    for (byte b : inb) {
      outs[i++] = convertunsignedByte2Short(b);
    }
    return outs;
  }
public short[] convertunsignedByte2Short(byte[] inb) {
    int len = inb.length;
    short[] outs = new short[len];
    int i = 0;
    for (byte b : inb) {
      outs[i++] = convertunsignedByte2Short(b);
    }
    return outs;
  }
public short [ ] convertunsignedByte2Short ( byte [ ] inb ) { int len = inb . length ; short [ ] outs = new short [ len ] ; int i = 0 ; for ( byte b : inb ) { outs [ i ++ ] = convertunsignedByte2Short ( b ) ; } return outs ; }
Instances which have same content are equal.
<p/>
public boolean equals(Object oo) {
if (this == oo) return true;
if ( !(oo instanceof Level2Record)) return false;
return hashCode() == oo.hashCode();
}
<p/>
/** Override Object.hashCode() to implement equals. *
public int hashCode() {
if (hashCode == 0) {
int result = 17;
result = 37*result + elevation_num;
//result = 37*result + cut;
//result = 37*result + datatype;
hashCode = result;
}
return hashCode;
}
private volatile int hashCode = 0;
Instances which have same content are equal . <p / > public boolean equals ( Object oo ) { if ( this == oo ) return true ; if ( ! ( oo instanceof Level2Record )) return false ; return hashCode () == oo . hashCode () ; } <p / > / ** Override Object . hashCode () to implement equals . * public int hashCode () { if ( hashCode == 0 ) { int result = 17 ; result = 37 * result + elevation_num ; // result = 37 * result + cut ; // result = 37 * result + datatype ; hashCode = result ; } return hashCode ; } private volatile int hashCode = 0 ;