Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 154 for NoSuchElementException (0.14 sec)

  1. guava/src/com/google/common/collect/Ordering.java

       * @throws NoSuchElementException if {@code iterator} is empty
       * @throws ClassCastException if the parameters are not <i>mutually comparable</i> under this
       *     ordering.
       * @since 11.0
       */
      @ParametricNullness
      public <E extends T> E min(Iterator<E> iterator) {
        // let this throw NoSuchElementException as necessary
        E minSoFar = iterator.next();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/RangeSet.java

     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.errorprone.annotations.DoNotMock;
    import java.util.NoSuchElementException;
    import java.util.Set;
    import javax.annotation.CheckForNull;
    
    /**
     * A set comprising zero or more {@linkplain Range#isEmpty nonempty}, {@linkplain
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/RangeMap.java

    import com.google.common.annotations.GwtIncompatible;
    import com.google.errorprone.annotations.DoNotMock;
    import java.util.Collection;
    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.NoSuchElementException;
    import java.util.function.BiFunction;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/collection/ArrayMapTest.java

    import static org.hamcrest.CoreMatchers.nullValue;
    import static org.junit.Assert.assertThat;
    
    import java.util.HashMap;
    import java.util.Iterator;
    import java.util.Map;
    import java.util.NoSuchElementException;
    
    import org.codelibs.core.exception.ClIllegalStateException;
    import org.codelibs.core.exception.ClIndexOutOfBoundsException;
    import org.codelibs.core.io.SerializeUtil;
    import org.junit.After;
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java

    import com.google.common.collect.testing.features.CollectionSize;
    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.List;
    import java.util.NoSuchElementException;
    import org.junit.Ignore;
    
    /**
     * Tester for navigation of SortedMultisets.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Cut.java

     */
    
    package com.google.common.collect;
    
    import static com.google.common.base.Preconditions.checkNotNull;
    
    import com.google.common.annotations.GwtCompatible;
    import java.io.Serializable;
    import java.util.NoSuchElementException;
    import javax.annotation.CheckForNull;
    
    /**
     * Implementation detail for the internal structure of {@link Range} instances. Represents a unique
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/MinMaxPriorityQueue.java

      }
    
      /**
       * Removes and returns the greatest element of this queue.
       *
       * @throws NoSuchElementException if the queue is empty
       */
      @CanIgnoreReturnValue
      public E removeLast() {
        if (isEmpty()) {
          throw new NoSuchElementException();
        }
        return removeAndGet(getMaxElementIndex());
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/Cut.java

     */
    
    package com.google.common.collect;
    
    import static com.google.common.base.Preconditions.checkNotNull;
    
    import com.google.common.annotations.GwtCompatible;
    import java.io.Serializable;
    import java.util.NoSuchElementException;
    import javax.annotation.CheckForNull;
    
    /**
     * Implementation detail for the internal structure of {@link Range} instances. Represents a unique
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ImmutableRangeSet.java

    import java.io.InvalidObjectException;
    import java.io.ObjectInputStream;
    import java.io.Serializable;
    import java.util.Collections;
    import java.util.Iterator;
    import java.util.List;
    import java.util.NoSuchElementException;
    import java.util.Set;
    import java.util.stream.Collector;
    import javax.annotation.CheckForNull;
    
    /**
     * A {@link RangeSet} whose contents will never change, with many other important properties
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 27K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/ListsTest.java

    import java.io.Serializable;
    import java.util.ArrayList;
    import java.util.Collection;
    import java.util.Iterator;
    import java.util.LinkedList;
    import java.util.List;
    import java.util.ListIterator;
    import java.util.NoSuchElementException;
    import java.util.RandomAccess;
    import java.util.concurrent.CopyOnWriteArrayList;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    
    /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35K bytes
    - Viewed (0)
Back to top