Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 135 for threw (0.04 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

        } catch (PermittedMetaException e) {
          referenceException = e;
        } catch (UnknownElementException e) {
          throw new AssertionError(e);
        }
    
        if (referenceException == null) {
          if (targetException != null) {
            throw new AssertionError("Target threw exception when reference did not", targetException);
          }
    
          /*
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

        } catch (PermittedMetaException e) {
          referenceException = e;
        } catch (UnknownElementException e) {
          throw new AssertionError(e);
        }
    
        if (referenceException == null) {
          if (targetException != null) {
            throw new AssertionError("Target threw exception when reference did not", targetException);
          }
    
          /*
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/features/CollectionSize.java

    @GwtCompatible
    public enum CollectionSize implements Feature<Collection>, Comparable<CollectionSize> {
      /** Test an empty collection. */
      ZERO(0),
      /** Test a one-element collection. */
      ONE(1),
      /** Test a three-element collection. */
      SEVERAL(3),
      /*
       * TODO: add VERY_LARGE, noting that we currently assume that the fourth
       * sample element is not in any collection
       */
    
      ANY(ZERO, ONE, SEVERAL);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java

        final SetMultimap<K, V> unusableDelegate;
    
        static <K, V> PopulatableMapAsMultimap<K, V> create() {
          return new PopulatableMapAsMultimap<>();
        }
    
        @SuppressWarnings("unchecked") // all methods throw immediately
        PopulatableMapAsMultimap() {
          this.map = newHashMap();
          this.unusableDelegate =
              (SetMultimap<K, V>)
                  newProxyInstance(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableBiMap.java

       */
      @Override
      public ImmutableSet<V> values() {
        return inverse().keySet();
      }
    
      @Override
      final ImmutableSet<V> createValues() {
        throw new AssertionError("should never be called");
      }
    
      /**
       * Guaranteed to throw an exception and leave the bimap unmodified.
       *
       * @throws UnsupportedOperationException always
       * @deprecated Unsupported operation.
       */
      @CanIgnoreReturnValue
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableMap.java

        throw new UnsupportedOperationException();
      }
    
      /**
       * Guaranteed to throw an exception and leave the map unmodified.
       *
       * @throws UnsupportedOperationException always
       * @deprecated Unsupported operation.
       */
      @Deprecated
      @Override
      @DoNotCall("Always throws UnsupportedOperationException")
      public final void clear() {
        throw new UnsupportedOperationException();
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 44.6K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java

        final SetMultimap<K, V> unusableDelegate;
    
        static <K, V> PopulatableMapAsMultimap<K, V> create() {
          return new PopulatableMapAsMultimap<>();
        }
    
        @SuppressWarnings("unchecked") // all methods throw immediately
        PopulatableMapAsMultimap() {
          this.map = newHashMap();
          this.unusableDelegate =
              (SetMultimap<K, V>)
                  newProxyInstance(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 28.9K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ImmutableSortedMap.java

      }
    
      /**
       * Guaranteed to throw an exception and leave the map unmodified.
       *
       * @throws UnsupportedOperationException always
       * @deprecated Unsupported operation.
       */
      @CanIgnoreReturnValue
      @Deprecated
      @Override
      @DoNotCall("Always throws UnsupportedOperationException")
      @CheckForNull
      public final Entry<K, V> pollFirstEntry() {
        throw new UnsupportedOperationException();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 50.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Iterators.java

             * the user calls remove().)
             */
            return iterator.hasNext() || iterable.iterator().hasNext();
          }
    
          @Override
          @ParametricNullness
          public T next() {
            if (!iterator.hasNext()) {
              iterator = iterable.iterator();
              if (!iterator.hasNext()) {
                throw new NoSuchElementException();
              }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 50.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ImmutableMap.java

       * Guaranteed to throw an exception and leave the map unmodified.
       *
       * @throws UnsupportedOperationException always
       * @deprecated Unsupported operation.
       */
      @CanIgnoreReturnValue
      @Deprecated
      @Override
      @CheckForNull
      public final V remove(@CheckForNull Object o) {
        throw new UnsupportedOperationException();
      }
    
      /**
       * Guaranteed to throw an exception and leave the map unmodified.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 41.5K bytes
    - Viewed (0)
Back to top