Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for equivalent (0.19 sec)

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

      enum Strength {
        STRONG {
          @Override
          Equivalence<Object> defaultEquivalence() {
            return Equivalence.equals();
          }
        },
    
        WEAK {
          @Override
          Equivalence<Object> defaultEquivalence() {
            return Equivalence.identity();
          }
        };
    
        /**
         * Returns the default equivalence strategy used to compare and hash keys or values referenced
    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. guava/src/com/google/common/collect/Iterators.java

      /**
       * Returns the empty iterator.
       *
       * <p>The {@link Iterable} equivalent of this method is {@link ImmutableSet#of()}.
       */
      static <T extends @Nullable Object> UnmodifiableIterator<T> emptyIterator() {
        return emptyListIterator();
      }
    
      /**
       * Returns the empty iterator.
       *
       * <p>The {@link Iterable} equivalent of this method is {@link ImmutableSet#of()}.
       */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jan 30 00:14:39 GMT 2024
    - 50.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/SetsTest.java

        assertFalse(actual.contains(list(3, 1)));
      }
    
      public void testCartesianProduct_equals() {
        Set<List<Integer>> cartesian = Sets.cartesianProduct(set(1, 2), set(3, 4));
        ImmutableSet<List<Integer>> equivalent =
            ImmutableSet.of(ImmutableList.of(1, 3), ImmutableList.of(1, 4), list(2, 3), list(2, 4));
        ImmutableSet<List<Integer>> different1 =
    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)
  4. android/guava/src/com/google/common/base/CharMatcher.java

       */
      public CharMatcher or(CharMatcher other) {
        return new Or(this, other);
      }
    
      /**
       * Returns a {@code char} matcher functionally equivalent to this one, but which may be faster to
       * query than the original; your mileage may vary. Precomputation takes time and is likely to be
       * worthwhile only if the precomputed matcher is queried many thousands of times.
       *
    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

       */
      public CharMatcher or(CharMatcher other) {
        return new Or(this, other);
      }
    
      /**
       * Returns a {@code char} matcher functionally equivalent to this one, but which may be faster to
       * query than the original; your mileage may vary. Precomputation takes time and is likely to be
       * worthwhile only if the precomputed matcher is queried many thousands of times.
       *
    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. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

        private transient @Nullable Object[] keys;
        private transient @Nullable Object[] values;
        private final Comparator<? super K> comparator;
    
        /**
         * Creates a new builder. The returned builder is equivalent to the builder generated by {@link
         * ImmutableSortedMap#orderedBy}.
         */
        public Builder(Comparator<? super K> comparator) {
          this(comparator, ImmutableCollection.Builder.DEFAULT_INITIAL_CAPACITY);
    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)
  7. guava/src/com/google/common/collect/ImmutableSortedMap.java

       * @since 2.0
       */
      public static class Builder<K, V> extends ImmutableMap.Builder<K, V> {
        private final Comparator<? super K> comparator;
    
        /**
         * Creates a new builder. The returned builder is equivalent to the builder generated by {@link
         * ImmutableSortedMap#orderedBy}.
         */
        public Builder(Comparator<? super K> comparator) {
          this.comparator = checkNotNull(comparator);
        }
    
        /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 50.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Sets.java

        }
    
        /**
         * Copies the current contents of this set view into an existing set. This method has equivalent
         * behavior to {@code set.addAll(this)}, assuming that all the sets involved are based on the
         * same notion of equivalence.
         *
         * @return a reference to {@code set}, for convenience
         */
        // Note: S should logically extend Set<? super E> but can't due to either
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Iterators.java

      /**
       * Returns the empty iterator.
       *
       * <p>The {@link Iterable} equivalent of this method is {@link ImmutableSet#of()}.
       */
      static <T extends @Nullable Object> UnmodifiableIterator<T> emptyIterator() {
        return emptyListIterator();
      }
    
      /**
       * Returns the empty iterator.
       *
       * <p>The {@link Iterable} equivalent of this method is {@link ImmutableSet#of()}.
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 51.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

        if (future instanceof Trusted) {
          // Break encapsulation for TrustedFuture instances since we know that subclasses cannot
          // override .get() (since it is final) and therefore this is equivalent to calling .get()
          // and unpacking the exceptions like we do below (just much faster because it is a single
          // field read instead of a read, several branches and possibly creating exceptions).
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
Back to top