Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 31 for Hare (0.12 sec)

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

    import java.util.stream.Collector;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Collectors not present in {@code java.util.stream.Collectors} that are not otherwise associated
     * with a {@code com.google.common} type.
     *
     * @author Louis Wasserman
     * @since 33.2.0 (available since 21.0 in guava-jre)
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

        Iterator<List<Integer>> partitions = Iterators.partition(list.iterator(), 1);
    
        // Changes before the partition is retrieved are reflected
        list.set(0, 3);
        List<Integer> first = partitions.next();
    
        // Changes after are not
        list.set(0, 4);
    
        assertEquals(ImmutableList.of(3), first);
      }
    
    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)
  3. android/guava/src/com/google/common/collect/ImmutableMultiset.java

            isLinkedHash = true;
            // to preserve insertion order through deletions, we have to switch to an actual linked
            // implementation at least for now, but this should be a super rare case
          } else if (buildInvoked) {
            contents = new ObjectCountHashMap<E>(contents);
            isLinkedHash = false;
          }
          buildInvoked = false;
          checkNotNull(element);
    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)
  4. android/guava/src/com/google/common/collect/ImmutableSet.java

       * first specified. That is, if multiple elements are {@linkplain Object#equals equal}, all except
       * the first are ignored.
       */
      public static <E> ImmutableSet<E> of(E e1, E e2) {
        return construct(2, e1, e2);
      }
    
      /**
       * Returns an immutable set containing the given elements, minus duplicates, in the order each was
       * first specified. That is, if multiple elements are {@linkplain Object#equals equal}, all except
    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

       * and values are the result of applying the provided mapping functions to the input elements. The
       * resulting implementation is specialized for enum key types. The returned map and its views will
       * iterate over keys in their enum definition order, not encounter order.
       *
       * <p>If the mapped keys contain duplicates, the values are merged using the specified merging
       * function.
       *
    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/ImmutableListMultimap.java

       * whose keys and values are the result of applying the provided mapping functions to the input
       * elements.
       *
       * <p>For streams with defined encounter order (as defined in the Ordering section of the {@link
       * java.util.stream} Javadoc), that order is preserved, but entries are <a
       * href="ImmutableMultimap.html#iteration">grouped by key</a>.
       *
       * <p>Example:
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 17.6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java

        try {
          builder.buildOrThrow();
          fail("Expected exception from duplicate keys");
        } catch (IllegalArgumentException expected) {
          // We don't really care which values the exception message contains, but they should be
          // different from each other. If buildKeepingLast() collapsed duplicates, that might end up
          // not being true.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 14:39:16 GMT 2024
    - 37.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableList.java

       *
       * <p>Despite the method name, this method attempts to avoid actually copying the data when it is
       * safe to do so. The exact circumstances under which a copy will or will not be performed are
       * undocumented and subject to change.
       *
       * <p>Note that if {@code list} is a {@code List<String>}, then {@code ImmutableList.copyOf(list)}
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 27.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/Equivalence.java

    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A strategy for determining whether two instances are considered equivalent, and for computing
     * hash codes in a manner consistent with that equivalence. Two examples of equivalences are the
     * {@linkplain #identity() identity equivalence} and the {@linkplain #equals "equals" equivalence}.
     *
    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)
  10. android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java

       * safe to do so. The exact circumstances under which a copy will or will not be performed are
       * undocumented and subject to change.
       *
       * <p>This method is not type-safe, as it may be called on elements that are not mutually
       * comparable.
       *
       * @throws ClassCastException if the elements are not mutually comparable
       * @throws NullPointerException if any of {@code elements} is null
       */
    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)
Back to top