Support peek
This commit is contained in:
parent
93c35b2b30
commit
707005500f
@ -26,6 +26,11 @@ public class FastUtilStackWrapper<T> implements Stack<T>, Collection<T> {
|
||||
return this.stack.pop();
|
||||
}
|
||||
|
||||
@Override
|
||||
public T peek(int n) {
|
||||
return this.stack.peek(n);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int size() {
|
||||
return collection.size();
|
||||
|
Loading…
x
Reference in New Issue
Block a user