Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 174 for naturally (0.04 seconds)

  1. 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
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 1.4K bytes
    - Click Count (0)
  2. 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
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 1.4K bytes
    - Click Count (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/TestStringSortedSetGenerator.java

    import com.google.common.annotations.GwtCompatible;
    import java.util.List;
    import java.util.SortedSet;
    import org.jspecify.annotations.NullMarked;
    
    /**
     * Create string sets for testing collections that are sorted by natural ordering.
     *
     * @author Jared Levy
     */
    @GwtCompatible
    @NullMarked
    public abstract class TestStringSortedSetGenerator extends TestStringSetGenerator
        implements TestSortedSetGenerator<String> {
    
      @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Feb 11 19:03:19 GMT 2025
    - 2K bytes
    - Click Count (0)
  4. 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
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  5. guava-testlib/src/com/google/common/collect/testing/google/TestEnumMultisetGenerator.java

      }
    
      protected abstract Multiset<AnEnum> create(AnEnum[] elements);
    
      @Override
      public AnEnum[] createArray(int length) {
        return new AnEnum[length];
      }
    
      /** Sorts the enums according to their natural ordering. */
      /*
       * While the current implementation returns `this`, that's not something we mean to guarantee.
       * Callers of TestContainerGenerator.order need to be prepared for implementations to return a new
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Feb 11 19:03:19 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/TreeMultiset.java

       *     indicates that the elements' <i>natural ordering</i> should be used.
       */
      @SuppressWarnings("unchecked")
      public static <E extends @Nullable Object> TreeMultiset<E> create(
          @Nullable Comparator<? super E> comparator) {
        return (comparator == null)
            ? new TreeMultiset<E>((Comparator) Ordering.natural())
            : new TreeMultiset<E>(comparator);
      }
    
      /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Dec 09 15:58:48 GMT 2025
    - 33.9K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/collect/ImmutableSortedMultisetTest.java

                      }
    
                      @Override
                      public List<String> order(List<String> insertionOrder) {
                        return Ordering.natural().sortedCopy(insertionOrder);
                      }
                    })
                .named("ImmutableSortedMultiset")
                .withFeatures(
                    CollectionSize.ANY,
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 22.7K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb1/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.smb1.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
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 31.7K bytes
    - Click Count (0)
  9. guava-tests/benchmark/com/google/common/collect/ComparatorDelegationOverheadBenchmark.java

    import java.util.Comparator;
    import java.util.Random;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * A benchmark to determine the overhead of sorting with {@link Ordering#from(Comparator)}, or with
     * {@link Ordering#natural()}, as opposed to using the inlined {@link Arrays#sort(Object[])}
     * implementation, which uses {@link Comparable#compareTo} directly.
     *
     * @author Louis Wasserman
     */
    @NullUnmarked
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 2.6K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/collect/SubMapMultimapAsMapImplementsMapTest.java

        super(true, true, true);
      }
    
      private TreeMultimap<String, Integer> createMultimap() {
        TreeMultimap<String, Integer> multimap =
            TreeMultimap.create(
                Ordering.<String>natural().nullsFirst(), Ordering.<Integer>natural().nullsFirst());
        multimap.put("a", -1);
        multimap.put("a", -3);
        multimap.put("z", -2);
        return multimap;
      }
    
      @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 14:50:24 GMT 2024
    - 3.5K bytes
    - Click Count (0)
Back to Top