Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 563 for support (0.24 sec)

  1. android/guava/src/com/google/common/cache/CacheLoader.java

     *     return createExpensiveGraph(key);
     *   }
     * };
     * LoadingCache<Key, Graph> cache = CacheBuilder.newBuilder().build(loader);
     * }</pre>
     *
     * <p>Since this example doesn't support reloading or bulk loading, if you're able to use lambda
     * expressions it can be specified even more easily:
     *
     * <pre>{@code
     * CacheLoader<Key, Graph> loader = CacheLoader.from(key -> createExpensiveGraph(key));
     * }</pre>
    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)
  2. android/guava/src/com/google/common/collect/ComparisonChain.java

       * we wanted to support legacy classes that implement the raw type {@code Comparable} (instead of
       * implementing {@code Comparable<Foo>}) without producing warnings. If so, we would prefer today
       * to produce warnings in that case, and we may change this method to do so in the future. Support
       * for raw {@code Comparable} types in Guava in general is tracked as <a
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jan 24 17:47:51 GMT 2022
    - 9.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/graph/ValueGraphBuilder.java

     * @author Joshua O'Madadhain
     * @param <N> The most general node type this builder will support. This is normally {@code Object}
     *     unless it is constrained by using a method like {@link #nodeOrder}, or the builder is
     *     constructed based on an existing {@code ValueGraph} using {@link #from(ValueGraph)}.
     * @param <V> The most general value type this builder will support. This is normally {@code Object}
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Jun 03 01:21:31 GMT 2022
    - 8K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/features/CollectionFeature.java

      REJECTS_DUPLICATES_AT_CREATION,
    
      SUPPORTS_ADD,
      SUPPORTS_REMOVE,
      SUPPORTS_ITERATOR_REMOVE,
      FAILS_FAST_ON_CONCURRENT_MODIFICATION,
    
      /**
       * Features supported by general-purpose collections - everything but {@link #RESTRICTS_ELEMENTS}.
       *
       * @see java.util.Collection the definition of general-purpose collections.
       */
      GENERAL_PURPOSE(SUPPORTS_ADD, SUPPORTS_REMOVE, SUPPORTS_ITERATOR_REMOVE),
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/cache/CacheBuilderSpec.java

     *
     * <ul>
     *   <li>{@code maximumSize} and {@code maximumWeight}
     *   <li>{@code softValues} and {@code weakValues}
     * </ul>
     *
     * <p>{@code CacheBuilderSpec} does not support configuring {@code CacheBuilder} methods with
     * non-value parameters. These must be configured in code.
     *
     * <p>A new {@code CacheBuilder} can be instantiated from a {@code CacheBuilderSpec} using {@link
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Aug 22 14:27:44 GMT 2022
    - 18.1K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/testers/CollectionClearTester.java

          collection.clear();
          fail(
              "clear() should throw UnsupportedOperation if a collection does "
                  + "not support it and is not empty.");
        } catch (UnsupportedOperationException expected) {
        }
        expectUnchanged();
      }
    
      @CollectionFeature.Require(absent = SUPPORTS_REMOVE)
      @CollectionSize.Require(ZERO)
      public void testClear_unsupportedByEmptyCollection() {
        try {
          collection.clear();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 3.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Serialization.java

       */
      static int readCount(ObjectInputStream stream) throws IOException {
        return stream.readInt();
      }
    
      /**
       * Stores the contents of a map in an output stream, as part of serialization. It does not support
       * concurrent maps whose content may change while the method is running.
       *
       * <p>The serialized output consists of the number of entries, first key, first value, second key,
       * second value, and so on.
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 06 16:06:58 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/AbstractIndexedListIterator.java

    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * This class provides a skeletal implementation of the {@link ListIterator} interface across a
     * fixed number of elements that may be retrieved by position. It does not support {@link #remove},
     * {@link #set}, or {@link #add}.
     *
     * @author Jared Levy
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    abstract class AbstractIndexedListIterator<E extends @Nullable Object>
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Jul 09 17:31:04 GMT 2021
    - 3.2K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetRemoveTester.java

      @CollectionFeature.Require(SUPPORTS_REMOVE)
      public void testRemoveNegative() {
        try {
          getMultiset().remove(e0(), -1);
          fail("Expected IllegalArgumentException");
        } catch (IllegalArgumentException expected) {
        }
        expectUnchanged();
      }
    
      @CollectionFeature.Require(absent = SUPPORTS_REMOVE)
      public void testRemoveUnsupported() {
        try {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 7K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/base/PredicatesTest.java

      }
    
      public void testIn_handlesNullPointerException() {
        class CollectionThatThrowsNPE<T> extends ArrayList<T> {
          @J2ktIncompatible // Kotlin doesn't support companions for inner classes
          private static final long serialVersionUID = 1L;
    
          @Override
          public boolean contains(@Nullable Object element) {
            Preconditions.checkNotNull(element);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 32.4K bytes
    - Viewed (0)
Back to top