Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 373 for Hare (0.13 sec)

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

      }
    
      /**
       * Returns a {@link Collector} that accumulates elements into an {@code ImmutableMap} whose keys
       * and values are the result of applying the provided mapping functions to the input elements.
       *
       * <p>If the mapped keys contain duplicates (according to {@link Object#equals(Object)}), the
       * values are merged using the specified merging function. If the merging function returns {@code
    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)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapReplaceEntryTester.java

          // the operation would be a no-op, so exceptions are allowed but not required
        }
        expectUnchanged();
      }
    
      @MapFeature.Require(absent = SUPPORTS_PUT)
      public void testReplaceEntry_unsupportedAbsentKey() {
        try {
          getMap().replace(k3(), v3(), v4());
        } catch (UnsupportedOperationException tolerated) {
          // the operation would be a no-op, so exceptions are allowed but not required
        }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableSet.java

       * the first are ignored.
       */
      public static <E> ImmutableSet<E> of(E e1, E e2, E e3, E e4, E e5) {
        return new RegularSetBuilderImpl<E>(5).add(e1).add(e2).add(e3).add(e4).add(e5).review().build();
      }
    
      /**
       * Returns an immutable set containing the given elements, minus duplicates, in the order each was
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 35.4K bytes
    - Viewed (0)
  4. guava/src/com/google/common/base/Optional.java

     * object.
     *
     * <p><b>Comparison to {@code java.util.Optional} (JDK 8 and higher):</b> A new {@code Optional}
     * class was added for Java 8. The two classes are extremely similar, but incompatible (they cannot
     * share a common supertype). <i>All</i> known differences are listed either here or with the
     * relevant methods below.
     *
     * <ul>
     *   <li>This class is serializable; {@code java.util.Optional} is not.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/TreeMultimap.java

     * existing key-value pair has no effect.
     *
     * <p>Null keys and values are permitted (provided, of course, that the respective comparators
     * support them). All optional multimap methods are supported, and all returned views are
     * modifiable.
     *
     * <p>This class is not threadsafe when any concurrent operations update the multimap. Concurrent
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Sat Mar 09 00:21:17 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableRangeSet.java

      }
    
      /**
       * Returns an {@code ImmutableRangeSet} containing each of the specified disjoint ranges.
       * Overlapping ranges and empty ranges are forbidden, though adjacent ranges are permitted and
       * will be merged.
       *
       * @throws IllegalArgumentException if any ranges overlap or are empty
       * @since 21.0
       */
      public static <C extends Comparable<?>> ImmutableRangeSet<C> copyOf(Iterable<Range<C>> ranges) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 26.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableRangeSet.java

      }
    
      /**
       * Returns an {@code ImmutableRangeSet} containing each of the specified disjoint ranges.
       * Overlapping ranges and empty ranges are forbidden, though adjacent ranges are permitted and
       * will be merged.
       *
       * @throws IllegalArgumentException if any ranges overlap or are empty
       * @since 21.0
       */
      public static <C extends Comparable<?>> ImmutableRangeSet<C> copyOf(Iterable<Range<C>> ranges) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/SortedLists.java

    /**
     * Static methods pertaining to sorted {@link List} instances.
     *
     * <p>In this documentation, the terms <i>greatest</i>, <i>greater</i>, <i>least</i>, and
     * <i>lesser</i> are considered to refer to the comparator on the elements, and the terms
     * <i>first</i> and <i>last</i> are considered to refer to the elements' ordering in a list.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    final class SortedLists {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 10.9K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/AbstractRangeSetTest.java

        List<Range<C>> asRanges = ImmutableList.copyOf(rangeSet.asRanges());
    
        // test that connected ranges are coalesced
        for (int i = 0; i + 1 < asRanges.size(); i++) {
          Range<C> range1 = asRanges.get(i);
          Range<C> range2 = asRanges.get(i + 1);
          assertFalse(range1.isConnected(range2));
        }
    
        // test that there are no empty ranges
        for (Range<C> range : asRanges) {
          assertFalse(range.isEmpty());
        }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java

         * setException() will be a no-op because the Future is already done.
         *
         * Both scenarios are bad: The output Future might never complete, or, if it does complete, it
         * might not run some of its listeners. The likely result is that the app will hang. (And of
         * course stack overflows are bad news in general. For example, we may have overflowed in the
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 10.6K bytes
    - Viewed (0)
Back to top