test_class.file: utilities/src/test/java/ec/tstoolkit/utilities/CheckedIteratorTest.java
test_class.identifier: CheckedIteratorTest
test_case.body: @Test
      public void testFindWithDefault() {
          assertEquals("hello", create("one", "two").find(o -> "three".equals(o), "hello"));
      }
test_case.class_method_signature: CheckedIteratorTest.testFindWithDefault()
test_case.full_signature: @Test public void testFindWithDefault()
test_case.identifier: testFindWithDefault
test_case.invocations: assertEquals find create equals
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testFindWithDefault()
focal_class.file: utilities/src/main/java/ec/tstoolkit/utilities/CheckedIterator.java
focal_class.identifier: CheckedIterator
focal_class.class_method_signature: CheckedIterator.hasNext()
focal_class.full_signature: abstract public boolean hasNext()
focal_class.identifier: hasNext
focal_class.modifiers: abstract public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean hasNext()
focal_class.class_method_signature: CheckedIterator.next()
focal_class.full_signature: @Nullable abstract public E next()
focal_class.identifier: next
focal_class.modifiers: @Nullable abstract public
focal_class.parameters: ()
focal_class.return: E
focal_class.signature: E next()
focal_class.class_method_signature: CheckedIterator.next(@Nullable E defaultValue)
focal_class.full_signature: @Nullable public E next(@Nullable E defaultValue)
focal_class.identifier: next
focal_class.modifiers: @Nullable public
focal_class.parameters: (@Nullable E defaultValue)
focal_class.return: E
focal_class.signature: E next(@Nullable E defaultValue)
focal_class.class_method_signature: CheckedIterator.count()
focal_class.full_signature: public int count()
focal_class.identifier: count
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int count()
focal_class.class_method_signature: CheckedIterator.copyInto(@NonNull Collection<? super E> collection)
focal_class.full_signature: public boolean copyInto(@NonNull Collection<? super E> collection)
focal_class.identifier: copyInto
focal_class.modifiers: public
focal_class.parameters: (@NonNull Collection<? super E> collection)
focal_class.return: boolean
focal_class.signature: boolean copyInto(@NonNull Collection<? super E> collection)
focal_class.class_method_signature: CheckedIterator.toList()
focal_class.full_signature: @NonNull public List<E> toList()
focal_class.identifier: toList
focal_class.modifiers: @NonNull public
focal_class.parameters: ()
focal_class.return: List<E>
focal_class.signature: List<E> toList()
focal_class.class_method_signature: CheckedIterator.toArray(@NonNull Class<E> type)
focal_class.full_signature: @NonNull public E[] toArray(@NonNull Class<E> type)
focal_class.identifier: toArray
focal_class.modifiers: @NonNull public
focal_class.parameters: (@NonNull Class<E> type)
focal_class.return: E[]
focal_class.signature: E[] toArray(@NonNull Class<E> type)
focal_class.class_method_signature: CheckedIterator.toMap(@NonNull Function<? super E, V> valueFunc)
focal_class.full_signature: @NonNull public Map<E, V> toMap(@NonNull Function<? super E, V> valueFunc)
focal_class.identifier: toMap
focal_class.modifiers: @NonNull public
focal_class.parameters: (@NonNull Function<? super E, V> valueFunc)
focal_class.return: Map<E, V>
focal_class.signature: Map<E, V> toMap(@NonNull Function<? super E, V> valueFunc)
focal_class.class_method_signature: CheckedIterator.toMap(@NonNull Function<? super E, K> keyFunc, @NonNull Function<? super E, V> valueFunc)
focal_class.full_signature: @NonNull public Map<K, V> toMap(@NonNull Function<? super E, K> keyFunc, @NonNull Function<? super E, V> valueFunc)
focal_class.identifier: toMap
focal_class.modifiers: @NonNull public
focal_class.parameters: (@NonNull Function<? super E, K> keyFunc, @NonNull Function<? super E, V> valueFunc)
focal_class.return: Map<K, V>
focal_class.signature: Map<K, V> toMap(@NonNull Function<? super E, K> keyFunc, @NonNull Function<? super E, V> valueFunc)
focal_class.class_method_signature: CheckedIterator.getLast()
focal_class.full_signature: @Nullable public E getLast()
focal_class.identifier: getLast
focal_class.modifiers: @Nullable public
focal_class.parameters: ()
focal_class.return: E
focal_class.signature: E getLast()
focal_class.class_method_signature: CheckedIterator.getLast(@Nullable E defaultValue)
focal_class.full_signature: @Nullable public E getLast(@Nullable E defaultValue)
focal_class.identifier: getLast
focal_class.modifiers: @Nullable public
focal_class.parameters: (@Nullable E defaultValue)
focal_class.return: E
focal_class.signature: E getLast(@Nullable E defaultValue)
focal_class.class_method_signature: CheckedIterator.advance(int numberToAdvance)
focal_class.full_signature: @VisibleForTesting int advance(int numberToAdvance)
focal_class.identifier: advance
focal_class.modifiers: @VisibleForTesting
focal_class.parameters: (int numberToAdvance)
focal_class.return: int
focal_class.signature: int advance(int numberToAdvance)
focal_class.class_method_signature: CheckedIterator.get(int position)
focal_class.full_signature: @Nullable public E get(int position)
focal_class.identifier: get
focal_class.modifiers: @Nullable public
focal_class.parameters: (int position)
focal_class.return: E
focal_class.signature: E get(int position)
focal_class.class_method_signature: CheckedIterator.get(int position, @Nullable E defaultValue)
focal_class.full_signature: @Nullable public E get(int position, @Nullable E defaultValue)
focal_class.identifier: get
focal_class.modifiers: @Nullable public
focal_class.parameters: (int position, @Nullable E defaultValue)
focal_class.return: E
focal_class.signature: E get(int position, @Nullable E defaultValue)
focal_class.class_method_signature: CheckedIterator.all(@NonNull Predicate<? super E> predicate)
focal_class.full_signature: public boolean all(@NonNull Predicate<? super E> predicate)
focal_class.identifier: all
focal_class.modifiers: public
focal_class.parameters: (@NonNull Predicate<? super E> predicate)
focal_class.return: boolean
focal_class.signature: boolean all(@NonNull Predicate<? super E> predicate)
focal_class.class_method_signature: CheckedIterator.any(@NonNull Predicate<? super E> predicate)
focal_class.full_signature: public boolean any(@NonNull Predicate<? super E> predicate)
focal_class.identifier: any
focal_class.modifiers: public
focal_class.parameters: (@NonNull Predicate<? super E> predicate)
focal_class.return: boolean
focal_class.signature: boolean any(@NonNull Predicate<? super E> predicate)
focal_class.class_method_signature: CheckedIterator.indexOf(@NonNull Predicate<? super E> predicate)
focal_class.full_signature: public int indexOf(@NonNull Predicate<? super E> predicate)
focal_class.identifier: indexOf
focal_class.modifiers: public
focal_class.parameters: (@NonNull Predicate<? super E> predicate)
focal_class.return: int
focal_class.signature: int indexOf(@NonNull Predicate<? super E> predicate)
focal_class.class_method_signature: CheckedIterator.contains(@Nullable E element)
focal_class.full_signature: public boolean contains(@Nullable E element)
focal_class.identifier: contains
focal_class.modifiers: public
focal_class.parameters: (@Nullable E element)
focal_class.return: boolean
focal_class.signature: boolean contains(@Nullable E element)
focal_class.class_method_signature: CheckedIterator.elementsEqual(@NonNull CheckedIterator<E, T> that)
focal_class.full_signature: public boolean elementsEqual(@NonNull CheckedIterator<E, T> that)
focal_class.identifier: elementsEqual
focal_class.modifiers: public
focal_class.parameters: (@NonNull CheckedIterator<E, T> that)
focal_class.return: boolean
focal_class.signature: boolean elementsEqual(@NonNull CheckedIterator<E, T> that)
focal_class.class_method_signature: CheckedIterator.find(@NonNull Predicate<? super E> predicate)
focal_class.full_signature: @Nullable public E find(@NonNull Predicate<? super E> predicate)
focal_class.identifier: find
focal_class.modifiers: @Nullable public
focal_class.parameters: (@NonNull Predicate<? super E> predicate)
focal_class.return: E
focal_class.signature: E find(@NonNull Predicate<? super E> predicate)
focal_class.class_method_signature: CheckedIterator.find(@NonNull Predicate<? super E> predicate, @Nullable E defaultValue)
focal_class.full_signature: @Nullable public E find(@NonNull Predicate<? super E> predicate, @Nullable E defaultValue)
focal_class.identifier: find
focal_class.modifiers: @Nullable public
focal_class.parameters: (@NonNull Predicate<? super E> predicate, @Nullable E defaultValue)
focal_class.return: E
focal_class.signature: E find(@NonNull Predicate<? super E> predicate, @Nullable E defaultValue)
focal_class.class_method_signature: CheckedIterator.frequency(@Nullable E element)
focal_class.full_signature: public int frequency(@Nullable E element)
focal_class.identifier: frequency
focal_class.modifiers: public
focal_class.parameters: (@Nullable E element)
focal_class.return: int
focal_class.signature: int frequency(@Nullable E element)
focal_class.class_method_signature: CheckedIterator.filter(@NonNull final Predicate<? super E> predicate)
focal_class.full_signature: @NonNull public CheckedIterator<E, T> filter(@NonNull final Predicate<? super E> predicate)
focal_class.identifier: filter
focal_class.modifiers: @NonNull public
focal_class.parameters: (@NonNull final Predicate<? super E> predicate)
focal_class.return: CheckedIterator<E, T>
focal_class.signature: CheckedIterator<E, T> filter(@NonNull final Predicate<? super E> predicate)
focal_class.class_method_signature: CheckedIterator.filter(@NonNull Class<? extends E> type)
focal_class.full_signature: @NonNull public CheckedIterator<E, T> filter(@NonNull Class<? extends E> type)
focal_class.identifier: filter
focal_class.modifiers: @NonNull public
focal_class.parameters: (@NonNull Class<? extends E> type)
focal_class.return: CheckedIterator<E, T>
focal_class.signature: CheckedIterator<E, T> filter(@NonNull Class<? extends E> type)
focal_class.class_method_signature: CheckedIterator.skip(final int skipSize)
focal_class.full_signature: @NonNull public CheckedIterator<E, T> skip(final int skipSize)
focal_class.identifier: skip
focal_class.modifiers: @NonNull public
focal_class.parameters: (final int skipSize)
focal_class.return: CheckedIterator<E, T>
focal_class.signature: CheckedIterator<E, T> skip(final int skipSize)
focal_class.class_method_signature: CheckedIterator.limit(final int limitSize)
focal_class.full_signature: @NonNull public CheckedIterator<E, T> limit(final int limitSize)
focal_class.identifier: limit
focal_class.modifiers: @NonNull public
focal_class.parameters: (final int limitSize)
focal_class.return: CheckedIterator<E, T>
focal_class.signature: CheckedIterator<E, T> limit(final int limitSize)
focal_class.class_method_signature: CheckedIterator.transform(@NonNull final Function<? super E, ? extends NEW> function)
focal_class.full_signature: @NonNull public CheckedIterator<NEW, T> transform(@NonNull final Function<? super E, ? extends NEW> function)
focal_class.identifier: transform
focal_class.modifiers: @NonNull public
focal_class.parameters: (@NonNull final Function<? super E, ? extends NEW> function)
focal_class.return: CheckedIterator<NEW, T>
focal_class.signature: CheckedIterator<NEW, T> transform(@NonNull final Function<? super E, ? extends NEW> function)
focal_class.class_method_signature: CheckedIterator.concat(@NonNull CheckedIterator<E, T> input)
focal_class.full_signature: @NonNull public CheckedIterator<E, T> concat(@NonNull CheckedIterator<E, T> input)
focal_class.identifier: concat
focal_class.modifiers: @NonNull public
focal_class.parameters: (@NonNull CheckedIterator<E, T> input)
focal_class.return: CheckedIterator<E, T>
focal_class.signature: CheckedIterator<E, T> concat(@NonNull CheckedIterator<E, T> input)
focal_class.class_method_signature: CheckedIterator.emptyIterator()
focal_class.full_signature: @NonNull public static CheckedIterator<E, T> emptyIterator()
focal_class.identifier: emptyIterator
focal_class.modifiers: @NonNull public static
focal_class.parameters: ()
focal_class.return: CheckedIterator<E, T>
focal_class.signature: CheckedIterator<E, T> emptyIterator()
focal_class.class_method_signature: CheckedIterator.concat(@NonNull CheckedIterator<E, T>... inputs)
focal_class.full_signature: @NonNull private static CheckedIterator<E, T> concat(@NonNull CheckedIterator<E, T>... inputs)
focal_class.identifier: concat
focal_class.modifiers: @NonNull private static
focal_class.parameters: (@NonNull CheckedIterator<E, T>... inputs)
focal_class.return: CheckedIterator<E, T>
focal_class.signature: CheckedIterator<E, T> concat(@NonNull CheckedIterator<E, T>... inputs)
focal_class.class_method_signature: CheckedIterator.concat(@NonNull final Iterator<CheckedIterator<E, T>> inputs)
focal_class.full_signature: @NonNull private static CheckedIterator<E, T> concat(@NonNull final Iterator<CheckedIterator<E, T>> inputs)
focal_class.identifier: concat
focal_class.modifiers: @NonNull private static
focal_class.parameters: (@NonNull final Iterator<CheckedIterator<E, T>> inputs)
focal_class.return: CheckedIterator<E, T>
focal_class.signature: CheckedIterator<E, T> concat(@NonNull final Iterator<CheckedIterator<E, T>> inputs)
focal_class.class_method_signature: CheckedIterator.fromIterator(@NonNull final Iterator<X> iterator)
focal_class.full_signature: @NonNull public static CheckedIterator<X, RuntimeException> fromIterator(@NonNull final Iterator<X> iterator)
focal_class.identifier: fromIterator
focal_class.modifiers: @NonNull public static
focal_class.parameters: (@NonNull final Iterator<X> iterator)
focal_class.return: CheckedIterator<X, RuntimeException>
focal_class.signature: CheckedIterator<X, RuntimeException> fromIterator(@NonNull final Iterator<X> iterator)
focal_class.class_method_signature: CheckedIterator.fromBufferedReader(@NonNull final BufferedReader reader)
focal_class.full_signature: @NonNull public static CheckedIterator<String, IOException> fromBufferedReader(@NonNull final BufferedReader reader)
focal_class.identifier: fromBufferedReader
focal_class.modifiers: @NonNull public static
focal_class.parameters: (@NonNull final BufferedReader reader)
focal_class.return: CheckedIterator<String, IOException>
focal_class.signature: CheckedIterator<String, IOException> fromBufferedReader(@NonNull final BufferedReader reader)
focal_method.body: @Nullable
      public E find(@NonNull Predicate<? super E> predicate) throws T, NoSuchElementException {
          return filter(predicate).next();
      }
focal_method.class_method_signature: CheckedIterator.find(@NonNull Predicate<? super E> predicate)
focal_method.full_signature: @Nullable public E find(@NonNull Predicate<? super E> predicate)
focal_method.identifier: find
focal_method.invocations: next filter
focal_method.modifiers: @Nullable public
focal_method.parameters: (@NonNull Predicate<? super E> predicate)
focal_method.return: E
focal_method.signature: E find(@NonNull Predicate<? super E> predicate)