Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 441 for Implementation (0.22 sec)

  1. android/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)
  2. android/guava/src/com/google/common/collect/ImmutableCollection.java

     *       worse, and possibly better, than creating a mutable collection and copying it.
     *   <li>Implementations generally do not cache hash codes. If your element or key type has a slow
     *       {@code hashCode} implementation, it should cache it itself.
     * </ul>
     *
     * <h4>Example usage</h4>
     *
     * <pre>{@code
     * class Foo {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/CollectSpliterators.java

          }
          return max(estimatedSize, 0);
        }
    
        @Override
        public final int characteristics() {
          return characteristics;
        }
      }
    
      /**
       * Implementation of {@link Stream#flatMap} with an object spliterator output type.
       *
       * <p>To avoid having this type, we could use {@code FlatMapSpliterator} directly. The main
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 22 18:19:31 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/IteratorTester.java

    import java.util.Collections;
    import java.util.Iterator;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A utility for testing an Iterator implementation by comparing its behavior to that of a "known
     * good" reference implementation. In order to accomplish this, it's important to test a great
     * variety of sequences of the {@link Iterator#next}, {@link Iterator#hasNext} and {@link
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/JdkBackedImmutableMap.java

    import java.util.HashMap;
    import java.util.Map;
    import java.util.function.BiConsumer;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Implementation of ImmutableMap backed by a JDK HashMap, which has smartness protecting against
     * hash flooding.
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/AbstractExecutionThreadService.java

      /**
       * Invoked to request the service to stop.
       *
       * <p>By default this method does nothing.
       *
       * <p>Currently, this method is invoked while holding a lock. If an implementation of this method
       * blocks, it can prevent this service from changing state. If you need to performing a blocking
       * operation in order to trigger shutdown, consider instead registering a listener and
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Dec 13 19:45:20 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ImmutableSet.java

       * ImmutableEnumSet/ImmutableSortedSet, regardless of implementation type. It
       * captures their "logical contents" and they are reconstructed using public
       * static factories. This is necessary to ensure that the existence of a
       * particular implementation type is an implementation detail.
       */
      @J2ktIncompatible // serialization
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 08 03:01:02 UTC 2024
    - 35.3K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/MapEntrySetTester.java

    import java.util.Set;
    import org.junit.Ignore;
    
    /**
     * Tests {@link java.util.Map#entrySet}.
     *
     * @author Louis Wasserman
     * @param <K> The key type of the map implementation under test.
     * @param <V> The value type of the map implementation under test.
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/testers/MapEntrySetTester.java

    import java.util.Set;
    import org.junit.Ignore;
    
    /**
     * Tests {@link java.util.Map#entrySet}.
     *
     * @author Louis Wasserman
     * @param <K> The key type of the map implementation under test.
     * @param <V> The value type of the map implementation under test.
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Lists.java

            }
          }
        }
        return -1;
      }
    
      /** Returns an implementation of {@link List#listIterator(int)}. */
      static <E extends @Nullable Object> ListIterator<E> listIteratorImpl(List<E> list, int index) {
        return new AbstractListWrapper<>(list).listIterator(index);
      }
    
      /** An implementation of {@link List#subList(int, int)}. */
      static <E extends @Nullable Object> List<E> subListImpl(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 29 16:48:36 UTC 2024
    - 41.5K bytes
    - Viewed (0)
Back to top