Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 781 - 790 of 863 for IllegalArgumentException (0.96 seconds)

  1. android/guava/src/com/google/common/base/Functions.java

        @Override
        public String toString() {
          return "Functions.identity()";
        }
      }
    
      /**
       * Returns a function which performs a map lookup. The returned function throws an {@link
       * IllegalArgumentException} if given a key that does not exist in the map. See also {@link
       * #forMap(Map, Object)}, which returns a default value in this case.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Aug 06 17:32:30 GMT 2025
    - 15.4K bytes
    - Click Count (0)
  2. guava/src/com/google/common/base/Functions.java

        @Override
        public String toString() {
          return "Functions.identity()";
        }
      }
    
      /**
       * Returns a function which performs a map lookup. The returned function throws an {@link
       * IllegalArgumentException} if given a key that does not exist in the map. See also {@link
       * #forMap(Map, Object)}, which returns a default value in this case.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Aug 06 17:32:30 GMT 2025
    - 15.4K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/hash/HashCode.java

      }
    
      private static int decode(char ch) {
        if (ch >= '0' && ch <= '9') {
          return ch - '0';
        }
        if (ch >= 'a' && ch <= 'f') {
          return ch - 'a' + 10;
        }
        throw new IllegalArgumentException("Illegal hexadecimal character: " + ch);
      }
    
      /**
       * Returns {@code true} if {@code object} is a {@link HashCode} instance with the identical byte
       * representation to this hash code.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

        assertThat(set.subSet("g", "h")).isSameInstanceAs(this.<String>of());
        assertThat(set.subSet("c", "c")).isSameInstanceAs(this.<String>of());
        assertThrows(IllegalArgumentException.class, () -> set.subSet("e", "c"));
      }
    
      @J2ktIncompatible
      @GwtIncompatible // SerializableTester
      public void testOf_subSetSerialization() {
        SortedSet<String> set = of("e", "f", "b", "d", "c");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 46.3K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/Multisets.java

       * serializable if {@code e} is.
       *
       * @param e the element to be associated with the returned entry
       * @param n the count to be associated with the returned entry
       * @throws IllegalArgumentException if {@code n} is negative
       */
      public static <E extends @Nullable Object> Multiset.Entry<E> immutableEntry(
          @ParametricNullness E e, int n) {
        return new ImmutableEntry<>(e, n);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 41.3K bytes
    - Click Count (0)
  6. guava/src/com/google/common/collect/Multisets.java

       * serializable if {@code e} is.
       *
       * @param e the element to be associated with the returned entry
       * @param n the count to be associated with the returned entry
       * @throws IllegalArgumentException if {@code n} is negative
       */
      public static <E extends @Nullable Object> Multiset.Entry<E> immutableEntry(
          @ParametricNullness E e, int n) {
        return new ImmutableEntry<>(e, n);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 41.2K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/reflect/Invokable.java

       *
       * @throws IllegalAccessException if this {@code Constructor} object enforces Java language access
       *     control and the underlying method or constructor is inaccessible.
       * @throws IllegalArgumentException if the number of actual and formal parameters differ; if an
       *     unwrapping conversion for primitive arguments fails; or if, after possible unwrapping, a
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 18.5K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/eventbus/EventBus.java

      }
    
      /**
       * Unregisters all subscriber methods on a registered {@code object}.
       *
       * @param object object whose subscriber methods should be unregistered.
       * @throws IllegalArgumentException if the object was not previously registered.
       */
      public void unregister(Object object) {
        subscribers.unregister(object);
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 12.7K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/AbstractBiMap.java

            // consistent state by removing the bad entry.
            itr.remove();
          }
        }
        if (broken != null) {
          throw new IllegalArgumentException("value already present: " + broken.getValue());
        }
      }
    
      @Override
      public void clear() {
        delegate.clear();
        inverse.delegate.clear();
      }
    
      // Views
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 15:50:50 GMT 2025
    - 14.3K bytes
    - Click Count (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/Helpers.java

      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getMethod(Class<?> clazz, String name) {
        try {
          return clazz.getMethod(name);
        } catch (Exception e) {
          throw new IllegalArgumentException(e);
        }
      }
    
      /**
       * Useless constructor for a class of static utility methods.
       *
       * @deprecated Do not instantiate this utility class.
       */
      @Deprecated
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 17.2K bytes
    - Click Count (0)
Back to Top