Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 170 for naturally (0.04 sec)

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

     * signature doesn't say so explicitly, the map returned by {@link #asMap} has {@code Set} values.
     *
     * <p>If the values corresponding to a single key should be ordered according to a {@link
     * java.util.Comparator} (or the natural order), see the {@link SortedSetMultimap} subinterface.
     *
     * <p>Since the value collections are sets, the behavior of a {@code SetMultimap} is not specified
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/SetMultimap.java

     * signature doesn't say so explicitly, the map returned by {@link #asMap} has {@code Set} values.
     *
     * <p>If the values corresponding to a single key should be ordered according to a {@link
     * java.util.Comparator} (or the natural order), see the {@link SortedSetMultimap} subinterface.
     *
     * <p>Since the value collections are sets, the behavior of a {@code SetMultimap} is not specified
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/Queues.java

      }
    
      // LinkedList: see {@link com.google.common.collect.Lists}
    
      // PriorityBlockingQueue
    
      /**
       * Creates an empty {@code PriorityBlockingQueue} with the ordering given by its elements' natural
       * ordering.
       *
       * @since 11.0 (but the bound of {@code E} was changed from {@code Object} to {@code Comparable}
       *     in 15.0)
       */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Nov 04 17:24:58 UTC 2025
    - 18K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ForwardingSortedSet.java

     * invoke methods, they invoke methods on the {@code ForwardingSortedSet}.
     *
     * <p>Each of the {@code standard} methods, where appropriate, uses the set's comparator (or the
     * natural ordering of the elements, if there is no comparator) to test element equality. As a
     * result, if the comparator is not consistent with equals, some of the standard implementations may
     * violate the {@code Set} contract.
     *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 16:28:01 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/MultimapsTest.java

     *
     * @author Jared Levy
     */
    @GwtCompatible
    @NullMarked
    public class MultimapsTest extends TestCase {
    
      private static final Comparator<Integer> INT_COMPARATOR =
          Ordering.<Integer>natural().reverse().nullsFirst();
    
      @SuppressWarnings({"deprecation", "InlineMeInliner"}) // test of a deprecated method
      public void testUnmodifiableListMultimapShortCircuit() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ComparisonChain.java

     * public int compareTo(Foo that) {
     *   return ComparisonChain.start()
     *       .compare(this.aString, that.aString)
     *       .compare(this.anInt, that.anInt)
     *       .compare(this.anEnum, that.anEnum, Ordering.natural().nullsLast())
     *       .result();
     * }
     * }
     *
     * <p>The value of this expression will have the same sign as the <i>first nonzero</i> comparison
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/ComparisonChainTest.java

            (a, b) ->
                ComparisonChain.start()
                    .compare(a.aString, b.aString)
                    .compare(a.anInt, b.anInt)
                    .compare(a.anEnum, b.anEnum, Ordering.natural().nullsLast())
                    .result();
        Comparator<Foo> comparatorUsingComparatorMethods =
            comparing((Foo foo) -> foo.aString)
                .thenComparing(foo -> foo.anInt)
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 03:05:13 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  8. docs/pt/docs/advanced/advanced-dependencies.md

    {* ../../docs_src/dependencies/tutorial011_an_py39.py hl[22] *}
    
    /// tip | Dica
    
    Tudo isso parece não ser natural. E pode não estar muito claro ou aparentar ser útil ainda.
    
    Estes exemplos são intencionalmente simples, porém mostram como tudo funciona.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 20:32:40 UTC 2025
    - 10K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/GeneralRange.java

        T upperEndpoint = range.hasUpperBound() ? range.upperEndpoint() : null;
        BoundType upperBoundType = range.hasUpperBound() ? range.upperBoundType() : OPEN;
        return new GeneralRange<>(
            Ordering.natural(),
            range.hasLowerBound(),
            lowerEndpoint,
            lowerBoundType,
            range.hasUpperBound(),
            upperEndpoint,
            upperBoundType);
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ContiguousSet.java

        return create(Range.closedOpen(lower, upper), DiscreteDomain.longs());
      }
    
      final DiscreteDomain<C> domain;
    
      ContiguousSet(DiscreteDomain<C> domain) {
        super(Ordering.natural());
        this.domain = domain;
      }
    
      @Override
      public ContiguousSet<C> headSet(C toElement) {
        return headSetImpl(checkNotNull(toElement), false);
      }
    
      /**
       * @since 12.0
       */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 9.9K bytes
    - Viewed (0)
Back to top