Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for implementations (0.26 sec)

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

       * corresponding {@link InternalEntry}, {@link Segment}, and {@link InternalEntryHelper}
       * implementations.
       *
       * @param <K> the type of the key in each entry
       * @param <V> the type of the value in each entry
       * @param <E> the type of the {@link InternalEntry} entry implementation
       * @param <S> the type of the {@link Segment} entry implementation
       */
      interface InternalEntryHelper<
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 91.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/Futures.java

      // TODO(user,lukes): consider adding volatile to all these fields since in current known JVMs
      // that should resolve the issue. This comes at the cost of adding more write barriers to the
      // implementations.
    
      private Futures() {}
    
      /**
       * Creates a {@code ListenableFuture} which has its value set immediately upon construction. The
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 59.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

                   * !GENERATE_CANCELLATION_CAUSES.
                   *
                   * TODO(cpovirk): Maybe it would be cleaner to define a CancellationSupplier interface
                   * with two implementations, one that contains causeless Cancellation instances and
                   * the other of which creates new Cancellation instances each time it's called? Yet
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/CharMatcher.java

        }
    
        @Override
        public String toString() {
          return "CharMatcher.or(" + first + ", " + second + ")";
        }
      }
    
      // Static factory implementations
    
      /** Implementation of {@link #is(char)}. */
      private static final class Is extends FastMatcher {
    
        private final char match;
    
        Is(char match) {
          this.match = match;
        }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.7K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/CharMatcher.java

        }
    
        @Override
        public String toString() {
          return "CharMatcher.or(" + first + ", " + second + ")";
        }
      }
    
      // Static factory implementations
    
      /** Implementation of {@link #is(char)}. */
      private static final class Is extends FastMatcher {
    
        private final char match;
    
        Is(char match) {
          this.match = match;
        }
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.8K bytes
    - Viewed (0)
  6. guava/src/com/google/common/cache/CacheBuilder.java

       * CacheLoader#reload}.
       *
       * <p>As the default implementation of {@link CacheLoader#reload} is synchronous, it is
       * recommended that users of this method override {@link CacheLoader#reload} with an asynchronous
       * implementation; otherwise refreshes will be performed during unrelated cache read and write
       * operations.
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 51.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

      }
    
      /**
       * Serialized type for all ImmutableSortedMap instances. It captures the logical contents and they
       * are reconstructed using public factory methods. This ensures that the implementation types
       * remain as implementation details.
       */
      @J2ktIncompatible // serialization
      private static class SerializedForm<K, V> extends ImmutableMap.SerializedForm<K, V> {
        private final Comparator<? super K> comparator;
    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)
  8. guava-tests/test/com/google/common/collect/SetsTest.java

        new EqualsTester().addEqualityGroup(forward, reverse).testEquals();
      }
    
      /**
       * Test that a hash code miscomputed by "input.hashCode() * tooFarValue / 2" is correct under our
       * {@code hashCode} implementation.
       */
      public void testPowerSetHashCode_inputHashCodeTimesTooFarValueIsZero() {
        Set<Object> sumToEighthMaxIntElements =
            newHashSet(objectWithHashCode(1 << 29), objectWithHashCode(0));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 49.3K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

    import junit.framework.TestCase;
    
    /**
     * Test cases for {@link TypeToken}.
     *
     * @author Sven Mawson
     * @author Ben Yu
     */
    @AndroidIncompatible // lots of failures, possibly some related to bad equals() implementations?
    public class TypeTokenTest extends TestCase {
    
      private abstract static class StringList implements List<String> {}
    
      private abstract static class IntegerList implements List<Integer> {}
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 88.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Multimaps.java

      }
    
      /**
       * Returns {@link Multimap#asMap multimap.asMap()}. This is provided for parity with the other
       * more strongly-typed {@code asMap()} implementations.
       *
       * @since 15.0
       */
      public static <K extends @Nullable Object, V extends @Nullable Object>
          Map<K, Collection<V>> asMap(Multimap<K, V> multimap) {
        return multimap.asMap();
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 86.4K bytes
    - Viewed (0)
Back to top