Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 157 for isSupported (0.16 sec)

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

      public static <K, V> ImmutableSortedMap.Builder<K, V> builder() {
        throw new UnsupportedOperationException();
      }
    
      /**
       * Not supported for ImmutableSortedMap.
       *
       * @throws UnsupportedOperationException always
       * @deprecated Not supported for ImmutableSortedMap.
       */
      @DoNotCall("Use naturalOrder (which does not accept an expected size)")
      @Deprecated
    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

        throw new UnsupportedOperationException();
      }
    
      /**
       * Not supported. This method exists only to hide {@link ImmutableSet#builderWithExpectedSize}
       * from consumers of {@code ImmutableSortedSet}.
       *
       * @throws UnsupportedOperationException always
       * @deprecated Not supported by ImmutableSortedSet.
       */
      @DoNotCall("Use naturalOrder (which does not accept an expected size)")
    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. guava/src/com/google/common/collect/HashBasedTable.java

     *
     * <p>The views returned by {@link #column}, {@link #columnKeySet()}, and {@link #columnMap()} have
     * iterators that don't support {@code remove()}. Otherwise, all optional operations are supported.
     * Null row keys, columns keys, and values are not supported.
     *
     * <p>Lookups by row key are often faster than lookups by column key, because the data is stored in
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Jan 24 17:47:51 GMT 2022
    - 4K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/util/concurrent/testing/SameThreadScheduledExecutorService.java

        throw new UnsupportedOperationException("scheduleAtFixedRate is not supported.");
      }
    
      @Override
      public ListenableScheduledFuture<?> scheduleWithFixedDelay(
          Runnable command, long initialDelay, long delay, TimeUnit unit) {
        throw new UnsupportedOperationException("scheduleWithFixedDelay is not supported.");
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Oct 06 00:47:57 GMT 2021
    - 6.4K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/google/MultimapPutIterableTester.java

      @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_VALUES})
      public void testPutAllNullValueOnPresentKey_supported() {
        assertTrue(multimap().putAll(k0(), Lists.newArrayList(v3(), null)));
        assertGet(k0(), v0(), v3(), null);
      }
    
      @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_VALUES})
      public void testPutAllNullValueOnAbsentKey_supported() {
        assertTrue(multimap().putAll(k3(), Lists.newArrayList(v3(), null)));
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 7.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/CompactLinkedHashMap.java

    /**
     * CompactLinkedHashMap is an implementation of a Map with insertion or LRU iteration order,
     * maintained with a doubly linked list through the entries. All optional operations (put and
     * remove) are supported. Null keys and values are supported.
     *
     * <p>{@code containsKey(k)}, {@code put(k, v)} and {@code remove(k)} are all (expected and
     * amortized) constant time operations. Expected in the hashtable sense (depends on the hash
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/TablesTransformValuesTest.java

      // Null support depends on the underlying table and function.
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      @Override
      public void testNullPointerInstance() {}
    
      // put() and putAll() aren't supported.
      @Override
      public void testPut() {
        try {
          table.put("foo", 1, 'a');
          fail("Expected UnsupportedOperationException");
        } catch (UnsupportedOperationException expected) {
        }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:54:11 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/NullnessCasts.java

       * there's no way to assign a {@code @Nullable T} to a field {@code T foo;} and instruct the
       * analysis that that means "plain {@code T}" rather than the inferred type {@code @Nullable T}.
       * (Even if supported added {@code @NonNull}, that would not help, since the problem case
       * addressed by this method is the case in which {@code T} has parametric nullness -- and thus its
       * value may be legitimately {@code null}.)
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 10 20:36:34 GMT 2022
    - 3.9K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/base/StopwatchTest.java

        ticker.advance(1);
        assertEquals(1, stopwatch.elapsed(MILLISECONDS));
      }
    
      @J2ktIncompatible // TODO(b/259213718): Switch J2kt to String.format("%.4g") once that's supported
      public void testToString() {
        stopwatch.start();
        assertEquals("0.000 ns", stopwatch.toString());
        ticker.advance(1);
        assertEquals("1.000 ns", stopwatch.toString());
        ticker.advance(998);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  10. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableMap.java

          if (entry instanceof ImmutableEntry) {
            checkNotNull(entry.getKey());
            checkNotNull(entry.getValue());
            @SuppressWarnings("unchecked") // all supported methods are covariant
            Entry<K, V> immutableEntry = (Entry<K, V>) entry;
            entries.add(immutableEntry);
          } else {
            entries.add(entryOf((K) entry.getKey(), (V) entry.getValue()));
          }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 27 19:19:19 GMT 2024
    - 17.1K bytes
    - Viewed (0)
Back to top