public abstract class Buffer<T> extends Object implements Comparable<Buffer<T>>
| Modifier and Type | Method and Description |
|---|---|
protected abstract int |
compare(T one,
T other) |
int |
compareTo(Buffer<T> other) |
Buffer<T> |
flip() |
T |
get() |
protected void |
onFull() |
int |
position() |
Buffer<T> |
position(int position) |
Buffer<T> |
put(T element) |
int |
remaining() |
String |
toString() |
Copyright © 2018. All rights reserved.