Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 19 of 19 for Reed (0.12 sec)

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

          return "Ordering.arbitrary()";
        }
    
        /*
         * We need to be able to mock identityHashCode() calls for tests, because it
         * can take 1-10 seconds to find colliding objects. Mocking frameworks that
         * can do magic to mock static method calls still can't do so for a system
         * class, so we need the indirection. In production, Hotspot should still
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 39.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Multimaps.java

          return delegate;
        }
        return new UnmodifiableMultimap<>(delegate);
      }
    
      /**
       * Simply returns its argument.
       *
       * @deprecated no need to use this
       * @since 10.0
       */
      @Deprecated
      public static <K, V> Multimap<K, V> unmodifiableMultimap(ImmutableMultimap<K, V> delegate) {
        return checkNotNull(delegate);
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 86.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

        }
      }
    
      private static Iterator<Integer> iterateOver(int... values) {
        // Note: Ints.asList's iterator does not support remove which we need for testing.
        return new ArrayList<>(Ints.asList(values)).iterator();
      }
    
      public void testElementsEqual() {
        Iterable<?> a;
        Iterable<?> b;
    
        // Base case.
        a = Lists.newArrayList();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 56.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableMultiset.java

         * modifications, or we'll modify the already-built ImmutableMultiset.
         */
        boolean buildInvoked = false;
        /**
         * In the event of a setCount(elem, 0) call, we may need to remove elements, which destroys the
         * insertion order property of ObjectCountHashMap. In that event, we need to convert to a
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Maps.java

       * <p>Since this method uses {@code HashMap} instances internally, the keys of the supplied maps
       * must be well-behaved with respect to {@link Object#equals} and {@link Object#hashCode}.
       *
       * <p><b>Note:</b>If you only need to know whether two maps have the same mappings, call {@code
       * left.equals(right)} instead of this method.
       *
       * @param left the map to treat as the "left" map for purposes of comparison
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 159.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ImmutableSet.java

       */
      // This the best we could do to get copyOfEnumSet to compile in the mainline.
      // The suppression also covers the cast to E[], discussed below.
      // In the backport, we don't have those cases and thus don't need this suppression.
      // We keep it to minimize diffs.
      @SuppressWarnings("unchecked")
      public static <E> ImmutableSet<E> copyOf(Collection<? extends E> elements) {
        /*
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/Equivalence.java

       *       hash(x}} consistently return the same value provided {@code x} remains unchanged
       *       according to the definition of the equivalence. The hash need not remain consistent from
       *       one execution of an application to another execution of the same application.
       *   <li>It is <i>distributable across equivalence</i>: for any references {@code x} and {@code
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 01:41:50 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java

        }
    
        /** Check if we need to do deduplication and coalescing, and if so, do it. */
        private void maintenance() {
          if (length == elements.length) {
            dedupAndCoalesce(true);
          } else if (forceCopyElements) {
            this.elements = Arrays.copyOf(elements, elements.length);
            // we don't currently need to copy the counts array, because we don't use it directly
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 35.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Iterators.java

          @Override
          @ParametricNullness
          public T next() {
            return iterator.next();
          }
        };
      }
    
      /**
       * Simply returns its argument.
       *
       * @deprecated no need to use this
       * @since 10.0
       */
      @Deprecated
      public static <T extends @Nullable Object> UnmodifiableIterator<T> unmodifiableIterator(
          UnmodifiableIterator<T> iterator) {
        return checkNotNull(iterator);
    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)
Back to top