Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 352 for Implementation (0.19 sec)

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

     * should override {@code equals} as well, either providing your own implementation, or delegating
     * to the provided {@code standardEquals} method.
     *
     * <p>Each of the {@code standard} methods, where appropriate, use {@link Objects#equal} to test
     * equality for both keys and values. This may not be the desired behavior for map implementations
     * that use non-standard notions of key equality, such as the entry of a {@code SortedMap} whose
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Mar 19 19:28:11 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

              .build();
    
      /**
       * type → implementation. Inherently mutable interfaces and abstract classes are mapped to their
       * default implementations and are "new"d upon get().
       */
      private static final ConcurrentMap<Class<?>, Class<?>> implementations = Maps.newConcurrentMap();
    
      private static <T> void setImplementation(Class<T> type, Class<? extends T> implementation) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 17 16:33:44 UTC 2024
    - 21K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/MapMakerInternalMap.java

    /**
     * The concurrent hash map implementation built by {@link MapMaker}.
     *
     * <p>This implementation is heavily derived from revision 1.96 of <a
     * href="http://tinyurl.com/ConcurrentHashMap">ConcurrentHashMap.java</a>.
     *
     * @param <K> the type of the keys in the map
     * @param <V> the type of the values in the map
     * @param <E> the type of the {@link InternalEntry} entry implementation used internally
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 90.8K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

              .build();
    
      /**
       * type → implementation. Inherently mutable interfaces and abstract classes are mapped to their
       * default implementations and are "new"d upon get().
       */
      private static final ConcurrentMap<Class<?>, Class<?>> implementations = Maps.newConcurrentMap();
    
      private static <T> void setImplementation(Class<T> type, Class<? extends T> implementation) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 17 16:33:44 UTC 2024
    - 20.5K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableMapEntry.java

    import javax.annotation.CheckForNull;
    
    /**
     * Implementation of {@code Entry} for {@link ImmutableMap} that adds extra methods to traverse hash
     * buckets for the key and the value. This allows reuse in {@link RegularImmutableMap} and {@link
     * RegularImmutableBiMap}, which don't have to recopy the entries created by their {@code Builder}
     * implementations.
     *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/HashMultiset.java

    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Multiset implementation that uses hashing for key and entry access.
     *
     * @author Kevin Bourrillion
     * @author Jared Levy
     * @since 2.0
     */
    @GwtCompatible(serializable = true, emulated = true)
    @ElementTypesAreNonnullByDefault
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/primitives/UnsignedBytes.java

        return LexicographicalComparatorHolder.PureJavaComparator.INSTANCE;
      }
    
      /**
       * Provides a lexicographical comparator implementation; either a Java implementation or a faster
       * implementation based on {@link Unsafe}.
       *
       * <p>Uses reflection to gracefully fall back to the Java implementation if {@code Unsafe} isn't
       * available.
       */
      @VisibleForTesting
      static class LexicographicalComparatorHolder {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/TopKSelector.java

     *
     * <p>This uses the same efficient implementation as {@link Ordering#leastOf(Iterable, int)},
     * offering expected O(n + k log k) performance (worst case O(n log k)) for n calls to {@link
     * #offer} and a call to {@link #topK}, with O(k) memory. In comparison, quickselect has the same
     * asymptotics but requires O(n) memory, and a {@code PriorityQueue} implementation takes O(n log
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/reflect/Types.java

       * to custom TypeVariable implementations. As a result, we need to make sure our TypeVariable
       * implementation respects symmetry. Moreover, we don't want to reconstruct a native type variable
       * {@code <A>} using our implementation unless some of its bounds have changed in resolution. This
       * avoids creating unequal TypeVariable implementation unnecessarily. When the bounds do change,
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 17 16:33:44 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  10. guava/src/com/google/common/util/concurrent/FuturesGetChecked.java

      static <V extends @Nullable Object, X extends Exception> V getChecked(
          Future<V> future, Class<X> exceptionClass) throws X {
        return getChecked(bestGetCheckedTypeValidator(), future, exceptionClass);
      }
    
      /** Implementation of {@link Futures#getChecked(Future, Class)}. */
      @CanIgnoreReturnValue
      @VisibleForTesting
      @ParametricNullness
      static <V extends @Nullable Object, X extends Exception> V getChecked(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:40:56 UTC 2024
    - 11.9K bytes
    - Viewed (0)
Back to top