Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 168 for naturally (0.04 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java

        }
    
        /** Sorts the elements in reverse natural order. */
        @SuppressWarnings("CanIgnoreReturnValueSuggester") // see ImmutableSortedSetExplicitComparator
        @Override
        public List<Integer> order(List<Integer> insertionOrder) {
          sort(insertionOrder, Ordering.<Integer>natural().reverse());
          return insertionOrder;
        }
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 08 18:35:13 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ReverseNaturalOrdering.java

    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import java.io.Serializable;
    import java.util.Iterator;
    
    /** An ordering that uses the reverse of the natural order of the values. */
    @GwtCompatible
    final class ReverseNaturalOrdering extends Ordering<Comparable<?>> implements Serializable {
      static final ReverseNaturalOrdering INSTANCE = new ReverseNaturalOrdering();
    
      @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Jun 04 13:03:16 UTC 2025
    - 3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/NaturalOrdering.java

    import com.google.common.annotations.J2ktIncompatible;
    import com.google.errorprone.annotations.concurrent.LazyInit;
    import java.io.Serializable;
    import org.jspecify.annotations.Nullable;
    
    /** An ordering that uses the natural order of the values. */
    @GwtCompatible
    final class NaturalOrdering extends Ordering<Comparable<?>> implements Serializable {
      static final NaturalOrdering INSTANCE = new NaturalOrdering();
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Jun 04 13:03:16 UTC 2025
    - 3K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/GeneralRangeTest.java

      }
    
      public void testFromRangeAll() {
        assertEquals(GeneralRange.all(Ordering.natural()), GeneralRange.from(Range.all()));
      }
    
      public void testFromRangeOneEnd() {
        for (BoundType endpointType : BoundType.values()) {
          assertEquals(
              GeneralRange.upTo(Ordering.natural(), 3, endpointType),
              GeneralRange.from(Range.upTo(3, endpointType)));
    
          assertEquals(
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Sets.java

       *
       * <p><b>Warning:</b> {@code Range}s always represent a range of values using the values' natural
       * ordering. {@code NavigableSet} on the other hand can specify a custom ordering via a {@link
       * Comparator}, which can violate the natural ordering. Using this method (or in general using
       * {@code Range}) with unnaturally-ordered sets can lead to unexpected and undefined behavior.
       *
       * @since 20.0
       */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 81.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/SortedIterable.java

    @GwtCompatible
    interface SortedIterable<T extends @Nullable Object> extends Iterable<T> {
      /**
       * Returns the {@code Comparator} by which the elements of this iterable are ordered, or {@code
       * Ordering.natural()} if the elements are ordered by their natural ordering.
       */
      Comparator<? super T> comparator();
    
      /**
       * Returns an iterator over elements of type {@code T}. The elements are returned in nondecreasing
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/SortedIterable.java

    @GwtCompatible
    interface SortedIterable<T extends @Nullable Object> extends Iterable<T> {
      /**
       * Returns the {@code Comparator} by which the elements of this iterable are ordered, or {@code
       * Ordering.natural()} if the elements are ordered by their natural ordering.
       */
      Comparator<? super T> comparator();
    
      /**
       * Returns an iterator over elements of type {@code T}. The elements are returned in nondecreasing
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/netbios/NbtAddress.java

         * nameserver such as WINS or Samba is not specified.
         */
    
        public static final int B_NODE = 0;
    
        /**
         * A Point-to-Point node, or P node, unicasts queries to a nameserver
         * only. Natrually the <code>jcifs.netbios.nameserver</code> property must
         * be set.
         */
    
        public static final int P_NODE = 1;
    
        /**
         * Try Broadcast queries first, then try to resolve the name using the
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/graph/ElementOrder.java

        return new ElementOrder<>(Type.INSERTION, null);
      }
    
      /**
       * Returns an instance which specifies that the natural ordering of the elements is guaranteed.
       */
      public static <S extends Comparable<? super S>> ElementOrder<S> natural() {
        return new ElementOrder<>(Type.SORTED, Ordering.<S>natural());
      }
    
      /**
       * Returns an instance which specifies that the ordering of the elements is guaranteed to be
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/graph/ElementOrder.java

        return new ElementOrder<>(Type.INSERTION, null);
      }
    
      /**
       * Returns an instance which specifies that the natural ordering of the elements is guaranteed.
       */
      public static <S extends Comparable<? super S>> ElementOrder<S> natural() {
        return new ElementOrder<>(Type.SORTED, Ordering.<S>natural());
      }
    
      /**
       * Returns an instance which specifies that the ordering of the elements is guaranteed to be
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 6.6K bytes
    - Viewed (0)
Back to top