Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 76 for NoSuchElementException (0.23 sec)

  1. guava-tests/test/com/google/common/collect/FilteredCollectionsTestUtil.java

    import com.google.common.testing.EqualsTester;
    import java.util.ArrayList;
    import java.util.Collection;
    import java.util.Iterator;
    import java.util.List;
    import java.util.NavigableSet;
    import java.util.NoSuchElementException;
    import java.util.Set;
    import java.util.SortedSet;
    import junit.framework.TestCase;
    
    /**
     * Class that contains nested abstract tests for filtered collection views, along with their
     * implementation helpers.
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 12.9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/FilteredCollectionsTestUtil.java

    import com.google.common.base.Predicates;
    import com.google.common.testing.EqualsTester;
    import java.util.Collection;
    import java.util.Iterator;
    import java.util.List;
    import java.util.NavigableSet;
    import java.util.NoSuchElementException;
    import java.util.Set;
    import java.util.SortedSet;
    import junit.framework.TestCase;
    
    /**
     * Class that contains nested abstract tests for filtered collection views, along with their
     * implementation helpers.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 12.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/Collections2Test.java

        assertFalse("Expected no more permutations, but there was one.", permutations.hasNext());
        try {
          permutations.next();
          fail("Expected NoSuchElementException.");
        } catch (NoSuchElementException expected) {
        }
      }
    
      private <T> void assertPermutationsCount(int expected, Collection<List<T>> permutationSet) {
        assertEquals(expected, permutationSet.size());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 19.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/Collections2Test.java

        assertFalse("Expected no more permutations, but there was one.", permutations.hasNext());
        try {
          permutations.next();
          fail("Expected NoSuchElementException.");
        } catch (NoSuchElementException expected) {
        }
      }
    
      private <T> void assertPermutationsCount(int expected, Collection<List<T>> permutationSet) {
        assertEquals(expected, permutationSet.size());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 19.7K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

              }
            };
        static final PermittedMetaException NSEE =
            new PermittedMetaException("NoSuchElementException") {
              @Override
              boolean isPermitted(Exception exception) {
                return exception instanceof NoSuchElementException;
              }
            };
    
        private PermittedMetaException(String message) {
          super(message);
        }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/LinkedListMultimap.java

    import java.util.ConcurrentModificationException;
    import java.util.Iterator;
    import java.util.List;
    import java.util.ListIterator;
    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.NoSuchElementException;
    import java.util.Set;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 27.2K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ForwardingNavigableMap.java

    import static com.google.common.collect.Maps.keyOrNull;
    
    import com.google.common.annotations.GwtIncompatible;
    import java.util.Iterator;
    import java.util.NavigableMap;
    import java.util.NavigableSet;
    import java.util.NoSuchElementException;
    import java.util.SortedMap;
    import java.util.function.BiFunction;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Jun 15 18:11:44 GMT 2023
    - 14.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/TreeRangeMap.java

              throw new NoSuchElementException();
            }
          }
    
          Cut<K> upperBound;
          Entry<Cut<K>, RangeMapEntry<K, V>> upperEntry =
              entriesByLowerBound.lowerEntry(subRange.upperBound);
          if (upperEntry == null) {
            throw new NoSuchElementException();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 21.9K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/AbstractSession.java

        @Nonnull
        @Override
        @SuppressWarnings("unchecked")
        public <T extends Service> T getService(Class<T> clazz) throws NoSuchElementException {
            T t = (T) services.computeIfAbsent(clazz, this::lookup);
            if (t == null) {
                throw new NoSuchElementException(clazz.getName());
            }
            return t;
        }
    
        private Service lookup(Class<? extends Service> c) {
            try {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/TreeBasedTable.java

          updateBackingRowMapField();
          if (backingRowMap == null) {
            throw new NoSuchElementException();
          }
          return ((SortedMap<C, V>) backingRowMap).firstKey();
        }
    
        @Override
        public C lastKey() {
          updateBackingRowMapField();
          if (backingRowMap == null) {
            throw new NoSuchElementException();
          }
          return ((SortedMap<C, V>) backingRowMap).lastKey();
        }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 11.4K bytes
    - Viewed (0)
Back to top