Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 937 for to (0.18 sec)

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

       * whose elements are the result of applying {@code elementFunction} to the inputs, with counts
       * equal to the result of applying {@code countFunction} to the inputs.
       *
       * <p>If the mapped elements contain duplicates (according to {@code comparator}), the first
       * occurrence in encounter order appears in the resulting multiset, with count equal to the sum of
    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)
  2. android/guava/src/com/google/common/base/Predicates.java

      }
    
      /**
       * Returns a predicate that evaluates to {@code true} if the given predicate evaluates to {@code
       * false}.
       */
      public static <T extends @Nullable Object> Predicate<T> not(Predicate<T> predicate) {
        return new NotPredicate<>(predicate);
      }
    
      /**
       * Returns a predicate that evaluates to {@code true} if each of its components evaluates to
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/MultimapBuilder.java

      }
    
      /**
       * Uses an hash table to map keys to value collections, initialized to expect the specified number
       * of keys.
       *
       * <p>The collections returned by {@link Multimap#keySet()}, {@link Multimap#keys()}, and {@link
       * Multimap#asMap()} will iterate through the keys in the order that they were first added to the
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/primitives/Shorts.java

       * value} is greater than {@code max}, {@code max} is returned.
       *
       * @param value the {@code short} value to constrain
       * @param min the lower bound (inclusive) of the range to constrain {@code value} to
       * @param max the upper bound (inclusive) of the range to constrain {@code value} to
       * @throws IllegalArgumentException if {@code min > max}
       * @since 21.0
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 25.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/PeekingIteratorTest.java

        assertEquals("Should be able to peek() at first element", "A", peekingIterator.peek());
        assertEquals(
            "Should be able to peek() first element multiple times", "A", peekingIterator.peek());
        assertEquals(
            "next() should still return first element after peeking", "A", peekingIterator.next());
    
        assertEquals("Should be able to peek() at middle element", "B", peekingIterator.peek());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/Equivalence.java

          return 0;
        }
        return doHash(t);
      }
    
      /**
       * Implemented by the user to return a hash code for {@code t}, subject to the requirements
       * specified in {@link #hash}.
       *
       * <p>This method should not be called except by {@link #hash}. When {@link #hash} calls this
       * method, {@code t} is guaranteed to be non-null.
       *
       * @since 10.0 (previously, subclasses would override hash())
       */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/CompactHashSet.java

      /**
       * Keeps track of metadata like the number of hash table bits and modifications of this data
       * structure (to make it possible to throw ConcurrentModificationException in the iterator). Note
       * that we choose not to make this volatile, so we do less of a "best effort" to track such
       * errors, for better performance.
       */
      private transient int metadata;
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Feb 05 21:38:59 GMT 2024
    - 24.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/Equivalence.java

        return doEquivalent(a, b);
      }
    
      /**
       * Implemented by the user to determine whether {@code a} and {@code b} are considered equivalent,
       * subject to the requirements specified in {@link #equivalent}.
       *
       * <p>This method should not be called except by {@link #equivalent}. When {@link #equivalent}
       * calls this method, {@code a} and {@code b} are guaranteed to be distinct, non-null instances.
       *
    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)
  9. android/guava/src/com/google/common/primitives/Longs.java

       *
       * @param value the {@code long} value to constrain
       * @param min the lower bound (inclusive) of the range to constrain {@code value} to
       * @param max the upper bound (inclusive) of the range to constrain {@code value} to
       * @throws IllegalArgumentException if {@code min > max}
       * @since 21.0
       */
      public static long constrainToRange(long value, long min, long max) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 28.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Iterators.java

       * returned to the caller, although this is neither guaranteed to occur nor required to be
       * consistent. For example, this method <i>might</i> choose to pass through recognized
       * implementations of {@code PeekingIterator} when the behavior of the implementation is known to
       * meet the contract guaranteed by this method.
       *
    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