Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for Chan (0.26 sec)

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

       * @param defaultValue the default value to return if the iterator is empty or if {@code position}
       *     is greater than the number of elements remaining in {@code iterator}
       * @return the element at the specified position in {@code iterator} or {@code defaultValue} if
       *     {@code iterator} produces fewer than {@code position + 1} elements.
       * @throws IndexOutOfBoundsException if {@code position} is negative
       * @since 4.0
       */
    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)
  2. android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java

       * natural ordering. The sorted multisets use {@link Ordering#natural()} as the comparator. This
       * method provides more type-safety than {@link #builder}, as it can be called only for classes
       * that implement {@link Comparable}.
       *
       * <p>Note: the type parameter {@code E} extends {@code Comparable<?>} rather than {@code
       * Comparable<? super E>} as a workaround for javac <a
    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)
  3. android/guava/src/com/google/common/collect/Comparators.java

      }
    
      /**
       * Returns {@code true} if each element in {@code iterable} after the first is greater than or
       * equal to the element that preceded it, according to the specified comparator. Note that this is
       * always true when the iterable has fewer than two elements.
       */
      public static <T extends @Nullable Object> boolean isInOrder(
          Iterable<? extends T> iterable, Comparator<T> comparator) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

      }
    
      /**
       * This method returns a {@code ImmutableSortedMap}, consisting of the entries whose keys are less
       * than {@code toKey}.
       *
       * <p>The {@link SortedMap#headMap} documentation states that a submap of a submap throws an
       * {@link IllegalArgumentException} if passed a {@code toKey} greater than an earlier {@code
       * toKey}. However, this method doesn't throw an exception in that situation, but instead keeps
    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)
  5. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

       * IllegalArgumentException} if passed a {@code fromElement} smaller than an earlier {@code
       * fromElement}. However, this method doesn't throw an exception in that situation, but instead
       * keeps the original {@code fromElement}. Similarly, this method keeps the original {@code
       * toElement}, instead of throwing an exception, if passed a {@code toElement} greater than an
       * earlier {@code toElement}.
       */
      @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Multisets.java

       * Elements are added in encounter order.
       *
       * <p>If the mapped elements contain duplicates (according to {@link Object#equals}), the element
       * will be added more than once, with the count summed over all appearances of the element.
       *
       * <p>Note that {@code stream.collect(toMultiset(function, e -> 1, supplier))} is equivalent to
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableSetMultimap.java

      /**
       * {@inheritDoc}
       *
       * <p>Because an inverse of a set multimap cannot contain multiple pairs with the same key and
       * value, this method returns an {@code ImmutableSetMultimap} rather than the {@code
       * ImmutableMultimap} specified in the {@code ImmutableMultimap} class.
       */
      @Override
      public ImmutableSetMultimap<V, K> inverse() {
        ImmutableSetMultimap<V, K> result = inverse;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableMap.java

         * Returns a newly-created immutable map, using the last value for any key that was added more
         * than once. The iteration order of the returned map is the order in which entries were
         * inserted into the builder, unless {@link #orderEntriesByValue} was called, in which case
         * entries are sorted by value. If a key was added more than once, it appears in iteration order
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableBiMap.java

       *
       * <p>If {@code expectedSize} is exactly the number of entries added to the builder before {@link
       * Builder#build} is called, the builder is likely to perform better than an unsized {@link
       * #builder()} would have.
       *
       * <p>It is not specified if any performance benefits apply if {@code expectedSize} is close to,
       * but not exactly, the number of entries added to the builder.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 22.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Sets.java

       * instead.
       *
       * <p><b>Note:</b> If {@code elements} is a {@code SortedSet} with an explicit comparator, this
       * method has different behavior than {@link TreeSet#TreeSet(SortedSet)}, which returns a {@code
       * TreeSet} with that comparator.
       *
       * <p><b>Note:</b> this method is now unnecessary and should be treated as deprecated. Instead,
    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)
Back to top