Calculates this buffer's hash code from the remaining chars. The position, limit, capacity and mark don't affect the hash code. @return the hash code calculated from the remaining floats.
()
| 343 | * @return the hash code calculated from the remaining floats. |
| 344 | */ |
| 345 | @Override |
| 346 | public int hashCode() { |
| 347 | int myPosition = position; |
| 348 | int hash = 0; |
| 349 | while (myPosition < limit) { |
| 350 | hash = hash + Float.floatToIntBits(get(myPosition++)); |
| 351 | } |
| 352 | return hash; |
| 353 | } |
| 354 | |
| 355 | /** |
| 356 | * Indicates whether this buffer is direct. A direct buffer will try its |
nothing calls this directly
no test coverage detected