@Override public int hashCode(){
  int result=1;
  for (int i=0; i < vals.length; i++)   result=31 * result + Float.floatToIntBits(vals[i]);
  return result;
}

@ Override public int hashCode ( ) { int result = 1 ; for ( int i = 0 ; i < vals . length ; i ++ ) result = 31 * result + Float . floatToIntBits ( vals [ i ] ) ; return result ; }
generates a hash code for this object .
