Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1241 - 1250 of 1,694 for implementors (0.07 sec)

  1. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        DummyValueReference<K, V> valueRef = DummyValueReference.create(value);
        entry.setValueReference(valueRef);
        return entry;
      }
    
      static class DummyEntry<K, V> implements ReferenceEntry<K, V> {
        private @Nullable K key;
        private final int hash;
        private final ReferenceEntry<K, V> next;
    
        public DummyEntry(K key, int hash, ReferenceEntry<K, V> next) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 110.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/cache/LocalCacheTest.java

        DummyValueReference<K, V> valueRef = DummyValueReference.create(value);
        entry.setValueReference(valueRef);
        return entry;
      }
    
      static class DummyEntry<K, V> implements ReferenceEntry<K, V> {
        private @Nullable K key;
        private final int hash;
        private final ReferenceEntry<K, V> next;
    
        public DummyEntry(K key, int hash, ReferenceEntry<K, V> next) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 112.3K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/Helpers.java

        for (int i = 0; i < position; i++) {
          iterator.next();
        }
        return iterator.next();
      }
    
      private static class EntryComparator<K extends @Nullable Object, V extends @Nullable Object>
          implements Comparator<Entry<K, V>> {
        final @Nullable Comparator<? super K> keyComparator;
    
        public EntryComparator(@Nullable Comparator<? super K> keyComparator) {
          this.keyComparator = keyComparator;
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/ImmutableSortedMultisetTest.java

        Iterator<String> iterator = asList("a", null, "b").iterator();
        assertThrows(NullPointerException.class, () -> ImmutableSortedMultiset.copyOf(iterator));
      }
    
      private static class CountingIterable implements Iterable<String> {
        int count = 0;
    
        @Override
        public Iterator<String> iterator() {
          count++;
          return asList("a", "b", "a").iterator();
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  5. guava/src/com/google/common/reflect/Invokable.java

     *     constructor.
     * @author Ben Yu
     * @since 14.0 (no longer implements {@link AccessibleObject} or {@code GenericDeclaration} since
     *     31.0)
     */
    @ElementTypesAreNonnullByDefault
    public abstract class Invokable<T, R> implements AnnotatedElement, Member {
      private final AccessibleObject accessibleObject;
      private final Member member;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Dec 14 20:35:03 UTC 2023
    - 19.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/ListsTest.java

      private static final class RemoveFirstFunction implements Function<String, String>, Serializable {
        @Override
        public String apply(String from) {
          return (from.length() == 0) ? from : from.substring(1);
        }
      }
    
      private static class SomeIterable implements Iterable<Integer>, Serializable {
        @Override
        public Iterator<Integer> iterator() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/ListsTest.java

      private static final class RemoveFirstFunction implements Function<String, String>, Serializable {
        @Override
        public String apply(String from) {
          return (from.length() == 0) ? from : from.substring(1);
        }
      }
    
      private static class SomeIterable implements Iterable<Integer>, Serializable {
        @Override
        public Iterator<Integer> iterator() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/primitives/Chars.java

       * char[])}.
       *
       * @since 2.0
       */
      public static Comparator<char[]> lexicographicalComparator() {
        return LexicographicalComparator.INSTANCE;
      }
    
      private enum LexicographicalComparator implements Comparator<char[]> {
        INSTANCE;
    
        @Override
        public int compare(char[] left, char[] right) {
          int minLength = Math.min(left.length, right.length);
          for (int i = 0; i < minLength; i++) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 27 16:47:48 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/LinkedHashMultimap.java

       * whole.
       */
      @VisibleForTesting
      static final class ValueEntry<K extends @Nullable Object, V extends @Nullable Object>
          extends ImmutableEntry<K, V> implements ValueSetLink<K, V> {
        final int smearedValueHash;
    
        @CheckForNull ValueEntry<K, V> nextInValueBucket;
        /*
         * The *InValueSet and *InMultimap fields below are null after construction, but we almost
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java

     * This implementation passes the navigable map test suites.
     *
     * @author Louis Wasserman
     */
    @GwtIncompatible
    public final class SafeTreeMap<K, V> implements Serializable, NavigableMap<K, V> {
      @SuppressWarnings("unchecked")
      private static final Comparator<Object> NATURAL_ORDER =
          new Comparator<Object>() {
            @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 7.5K bytes
    - Viewed (0)
Back to top