Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 139 for Kass (0.14 sec)

  1. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

       * version.
       *
       * @throws UnsupportedOperationException always
       * @deprecated <b>Pass a key of type {@code Comparable} to use {@link
       *     ImmutableSortedMap#of(Comparable, Object)}.</b>
       */
      @DoNotCall("Pass a key of type Comparable")
      @Deprecated
      public static <K, V> ImmutableSortedMap<K, V> of(K k1, V v1) {
        throw new UnsupportedOperationException();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

       * dummy version.
       *
       * @throws UnsupportedOperationException always
       * @deprecated <b>Pass a parameter of type {@code Comparable} to use {@link
       *     ImmutableSortedSet#of(Comparable)}.</b>
       */
      @DoNotCall("Pass a parameter of type Comparable")
      @Deprecated
      public static <E> ImmutableSortedSet<E> of(E element) {
        throw new UnsupportedOperationException();
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/io/PatternFilenameFilter.java

       * of the supertype that suggests that implementations are expected to tolerate null. That said, I
       * see calls in Google code that pass a null `dir` to a FilenameFilter.... So let's declare the
       * parameter as non-nullable (since passing null to a FilenameFilter is unsafe in general), but if
       * someone still manages to pass null, let's continue to have the method work.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java

      }
    
      /**
       * Wrapper for {@link Map#get(Object)} that forces the caller to pass in a key of the same type as
       * the map. Besides being slightly shorter than code that uses {@link #getMap()}, it also ensures
       * that callers don't pass an {@link Entry} by mistake.
       */
      protected V get(K key) {
        return getMap().get(key);
      }
    
      protected final K k0() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  5. guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java

        public void oneArgNullableThrowsNPE(@Nullable String s) {
          checkNotNull(s); // doesn't check if you said you'd accept null, but you don't
        }
      }
    
      private static final String[] STATIC_ONE_ARG_METHODS_SHOULD_PASS = {
        "staticOneArgCorrectlyThrowsNpe",
        "staticOneArgCheckForNullCorrectlyDoesNotThrowNPE",
        "staticOneArgCheckForNullCorrectlyThrowsOtherThanNPE",
        "staticOneArgCheckForNullThrowsNPE",
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 16 15:12:31 GMT 2023
    - 47.9K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/eventbus/EventBusTest.java

        assertEquals(
            "Shouldn't catch any more events when unregistered.", expectedEvents, catcher2.getEvents());
      }
    
      // NOTE: This test will always pass if register() is thread-safe but may also
      // pass if it isn't, though this is unlikely.
      public void testRegisterThreadSafety() throws Exception {
        List<StringCatcher> catchers = Lists.newCopyOnWriteArrayList();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/eventbus/EventBusTest.java

        assertEquals(
            "Shouldn't catch any more events when unregistered.", expectedEvents, catcher2.getEvents());
      }
    
      // NOTE: This test will always pass if register() is thread-safe but may also
      // pass if it isn't, though this is unlikely.
      public void testRegisterThreadSafety() throws Exception {
        List<StringCatcher> catchers = Lists.newCopyOnWriteArrayList();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  8. guava/src/com/google/common/cache/ForwardingLoadingCache.java

        return delegate().apply(key);
      }
    
      @Override
      public void refresh(K key) {
        delegate().refresh(key);
      }
    
      /**
       * A simplified version of {@link ForwardingLoadingCache} where subclasses can pass in an already
       * constructed {@link LoadingCache} as the delegate.
       *
       * @since 10.0
       */
      public abstract static class SimpleForwardingLoadingCache<K, V>
          extends ForwardingLoadingCache<K, V> {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Sat Aug 06 17:12:03 GMT 2022
    - 2.9K bytes
    - Viewed (1)
  9. android/guava/src/com/google/common/base/Joiner.java

       *
       * <ul>
       *   <li>To output a separate entry for each key-value pair, pass {@code multimap.entries()} to a
       *       {@code MapJoiner} method that accepts entries as input, and receive output of the form
       *       {@code key1=A&key1=B&key2=C}.
       *   <li>To output a single entry for each key, pass {@code multimap.asMap()} to a {@code
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 18.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/cache/CacheLoader.java

      }
    
      /**
       * Returns a cache loader that uses {@code function} to load keys, and without supporting either
       * reloading or bulk loading. This is most useful when you can pass a lambda expression. Otherwise
       * it is useful mostly when you already have an existing function instance.
       *
       * <p>The returned object is serializable if {@code function} is serializable.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 19 20:20:14 GMT 2022
    - 9.6K bytes
    - Viewed (0)
Back to top