MCPcopy Create free account
hub / github.com/apache/poi / next

Method next

src/java/org/apache/poi/util/BinaryTree.java:1777–1791  ·  view source on GitHub ↗

@return the next element in the iteration. @exception NoSuchElementException if iteration has no more elements. @exception ConcurrentModificationException if the BinaryTree is mod

()

Source from the content-addressed store, hash-verified

1775 */
1776
1777 public Object next()
1778 throws NoSuchElementException, ConcurrentModificationException
1779 {
1780 if (_next_node == null)
1781 {
1782 throw new NoSuchElementException();
1783 }
1784 if (_modifications != _expected_modifications)
1785 {
1786 throw new ConcurrentModificationException();
1787 }
1788 _last_returned_node = _next_node;
1789 _next_node = nextGreater(_next_node, _type);
1790 return doGetNext();
1791 }
1792
1793 /**
1794 * Removes from the underlying collection the last element

Callers

nothing calls this directly

Calls 2

doGetNextMethod · 0.95
nextGreaterMethod · 0.80

Tested by

no test coverage detected