Class IntersectionIterator<T>

java.lang.Object
com.google.common.collect.UnmodifiableIterator<T>
com.google.common.collect.AbstractIterator<T>
net.minecraft.client.searchtree.IntersectionIterator<T>
All Implemented Interfaces:
Iterator<T>

public class IntersectionIterator<T> extends com.google.common.collect.AbstractIterator<T>
  • Field Details

    • firstIterator

      private final com.google.common.collect.PeekingIterator<T> firstIterator
    • secondIterator

      private final com.google.common.collect.PeekingIterator<T> secondIterator
    • comparator

      private final Comparator<T> comparator
  • Constructor Details

  • Method Details

    • computeNext

      protected T computeNext()
      Specified by:
      computeNext in class com.google.common.collect.AbstractIterator<T>