@Override public int hashCode(){
  int myPosition=position;
  int hash=0;
  long l;
  while (myPosition < limit) {
    l=Double.doubleToLongBits(get(myPosition++));
    hash=hash + ((int)l) ^ ((int)(l >> 32));
  }
  return hash;
}

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