@Override public int hashCode(){
  int myPosition=position;
  int hash=0;
  while (myPosition < limit) {
    hash=hash + Float.floatToIntBits(get(myPosition++));
  }
  return hash;
}

@ Override public int hashCode ( ) { int myPosition = position ; int hash = 0 ; while ( myPosition < limit ) { hash = hash + Float . floatToIntBits ( get ( myPosition ++ ) ) ; } return hash ; }
calculates this buffer ' s hash code from the remaining chars . the position , limit , capacity and mark don ' t affect the hash code .
