@Test public void peekId() throws Exception { assertThat(uut.peekId()).isNull(); uut.push("123", 123); assertThat(uut.peekId()).isEqualTo("123"); }
public String peekId() { return deque.peek(); }
IdStack implements Iterable<String> { public String peekId() { return deque.peek(); } }
IdStack implements Iterable<String> { public String peekId() { return deque.peek(); }  }
IdStack implements Iterable<String> { public String peekId() { return deque.peek(); }  void push(String id, E item); E peek(); E pop(); boolean isEmpty(); int size(); String peekId(); void clear(); E get(final String id); boolean containsId(final String id); E remove(final String id); boolean isTop(final String id); @NonNull @Override Iterator<String> iterator(); Collection<E> values(); }
IdStack implements Iterable<String> { public String peekId() { return deque.peek(); }  void push(String id, E item); E peek(); E pop(); boolean isEmpty(); int size(); String peekId(); void clear(); E get(final String id); boolean containsId(final String id); E remove(final String id); boolean isTop(final String id); @NonNull @Override Iterator<String> iterator(); Collection<E> values();  }