MCPcopy Create free account
hub / github.com/ReadyTalk/avian / last

Method last

classpath/java/util/TreeSet.java:49–53  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

47 }
48
49 public T last() {
50 if (isEmpty()) throw new NoSuchElementException();
51
52 return set.last().value().value;
53 }
54
55 public Iterator<T> iterator() {
56 return new MyIterator<T>(set.first());

Callers

nothing calls this directly

Calls 3

isEmptyMethod · 0.95
lastMethod · 0.65
valueMethod · 0.45

Tested by

no test coverage detected