Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 32 for Implementation (0.22 sec)

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

          return null;
        }
      }
    
      /** An admittedly inefficient implementation of {@link Map#containsKey}. */
      static boolean containsKeyImpl(Map<?, ?> map, @CheckForNull Object key) {
        return Iterators.contains(keyIterator(map.entrySet().iterator()), key);
      }
    
      /** An implementation of {@link Map#containsValue}. */
      static boolean containsValueImpl(Map<?, ?> map, @CheckForNull Object value) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 159.5K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/Helpers.java

          }
        };
      }
    
      /**
       * Returns a "nefarious" map entry with the specified key and value, meaning an entry that is
       * suitable for testing that map entries cannot be modified via a nefarious implementation of
       * equals. This is used for testing unmodifiable collections of map entries; for example, it
       * should not be possible to access the raw (modifiable) map entry via a nefarious equals method.
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java

                  : new DescendingImmutableSortedMultiset<E>(this);
        }
        return result;
      }
    
      /**
       * {@inheritDoc}
       *
       * <p>This implementation is guaranteed to throw an {@link UnsupportedOperationException}.
       *
       * @throws UnsupportedOperationException always
       * @deprecated Unsupported operation.
       */
      @CanIgnoreReturnValue
      @Deprecated
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 35.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Tables.java

       * runs quickly, since the row key is provided. However, {@code column(columnKey).size()} takes
       * longer, since an iteration across all row keys occurs.
       *
       * <p>Note that this implementation is not synchronized. If multiple threads access this table
       * concurrently and one of the threads modifies the table, it must be synchronized externally.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/testing/ClassSanityTester.java

              && hashCodeInsensitiveToArgReference(
                  factory, args, i, generateDummyArg(param, newFreshValueGenerator()))) {
            // If the implementation uses identityHashCode(), referential equality is
            // probably intended. So no point in using an equal-but-different factory argument.
            // We check twice to avoid confusion caused by accidental hash collision.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

          super("Returned value '" + actual + "' not found. Remaining elements: " + expected);
        }
    
        private static final long serialVersionUID = 0;
      }
    
      /**
       * Quasi-implementation of {@link ListIterator} that works from a list of elements and a set of
       * features to support (from the enclosing {@link AbstractIteratorTester} instance). Instead of
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 21.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;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 53K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/Helpers.java

          }
        };
      }
    
      /**
       * Returns a "nefarious" map entry with the specified key and value, meaning an entry that is
       * suitable for testing that map entries cannot be modified via a nefarious implementation of
       * equals. This is used for testing unmodifiable collections of map entries; for example, it
       * should not be possible to access the raw (modifiable) map entry via a nefarious equals method.
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

              && hashCodeInsensitiveToArgReference(
                  factory, args, i, generateDummyArg(param, newFreshValueGenerator()))) {
            // If the implementation uses identityHashCode(), referential equality is
            // probably intended. So no point in using an equal-but-different factory argument.
            // We check twice to avoid confusion caused by accidental hash collision.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Multimaps.java

          return multimap.keySet();
        }
    
        @Override
        Iterator<K> elementIterator() {
          throw new AssertionError("should never be called");
        }
      }
    
      /** A skeleton implementation of {@link Multimap#entries()}. */
      abstract static class Entries<K extends @Nullable Object, V extends @Nullable Object>
          extends AbstractCollection<Map.Entry<K, V>> {
        abstract Multimap<K, V> multimap();
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 86.3K bytes
    - Viewed (0)
Back to top