Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 180 for naturally (0.08 sec)

  1. android/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
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

       * Creates a new min-max priority queue with default settings: natural order, no maximum size, no
       * initial contents, and an initial expected size of 11.
       */
      public static <E extends Comparable<E>> MinMaxPriorityQueue<E> create() {
        return new Builder<Comparable<E>>(Ordering.natural()).create();
      }
    
      /**
       * Creates a new min-max priority queue using natural order, no maximum size, and initially
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java

                    return Collections.checkedSortedMap(map, String.class, String.class);
                  }
                })
            .named("checkedSortedMap/TreeMap, natural")
            .withFeatures(
                MapFeature.GENERAL_PURPOSE,
                MapFeature.ALLOWS_NULL_VALUES,
                MapFeature.FAILS_FAST_ON_CONCURRENT_MODIFICATION,
                MapFeature.RESTRICTS_KEYS,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 17K bytes
    - Viewed (0)
  4. 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(
          @CheckForNull Comparator<? super E> comparator) {
        return (comparator == null)
            ? new TreeMultiset<E>((Comparator) Ordering.natural())
            : new TreeMultiset<E>(comparator);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  5. guava-tests/benchmark/com/google/common/collect/ComparatorDelegationOverheadBenchmark.java

    import java.util.Arrays;
    import java.util.Comparator;
    import java.util.Random;
    
    /**
     * 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
     */
    public class ComparatorDelegationOverheadBenchmark {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  6. 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,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  7. 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: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 15.2K bytes
    - Viewed (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
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 30.1K bytes
    - Viewed (0)
  9. android/guava-testlib/test/com/google/common/collect/testing/SafeTreeMapTest.java

                      @Override
                      protected SortedMap<String, String> create(Entry<String, String>[] entries) {
                        NavigableMap<String, String> map = new SafeTreeMap<>(Ordering.natural());
                        for (Entry<String, String> entry : entries) {
                          map.put(entry.getKey(), entry.getValue());
                        }
                        return map;
                      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Mar 18 18:06:40 UTC 2022
    - 4.4K bytes
    - Viewed (0)
  10. guava-testlib/test/com/google/common/collect/testing/SafeTreeMapTest.java

                      @Override
                      protected SortedMap<String, String> create(Entry<String, String>[] entries) {
                        NavigableMap<String, String> map = new SafeTreeMap<>(Ordering.natural());
                        for (Entry<String, String> entry : entries) {
                          map.put(entry.getKey(), entry.getValue());
                        }
                        return map;
                      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Mar 18 18:06:40 UTC 2022
    - 4.4K bytes
    - Viewed (0)
Back to top