Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 35 for orderedAbs (0.15 sec)

  1. subprojects/core/src/main/java/org/gradle/api/internal/plugins/DefaultPluginRegistry.java

                PluginImplementation<?> lookup = impl.get();
                ImmutableSortedSet.Builder<PluginId> builder = ImmutableSortedSet.orderedBy(Comparator.comparing(PluginId::getId));
                for (Map.Entry<PluginIdLookupCacheKey, Optional<PluginImplementation<?>>> entry : idToPlugin.entrySet()) {
                    Optional<PluginImplementation<?>> value = entry.getValue();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 12 07:52:06 UTC 2021
    - 10.4K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/MinMaxPriorityQueue.java

     * creation time, the queue is unbounded.
     *
     * <p>Usage example:
     *
     * <pre>{@code
     * MinMaxPriorityQueue<User> users = MinMaxPriorityQueue.orderedBy(userComparator)
     *     .maximumSize(1000)
     *     .create();
     * }</pre>
     *
     * <p>As a {@link Queue} it functions exactly as a {@link PriorityQueue}: its head element -- the
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 34K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

     * creation time, the queue is unbounded.
     *
     * <p>Usage example:
     *
     * <pre>{@code
     * MinMaxPriorityQueue<User> users = MinMaxPriorityQueue.orderedBy(userComparator)
     *     .maximumSize(1000)
     *     .create();
     * }</pre>
     *
     * <p>As a {@link Queue} it functions exactly as a {@link PriorityQueue}: its head element -- the
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 34K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/typeregistration/BaseInstanceFactory.java

            return builder.build();
        }
    
        @Override
        public Set<ModelType<? extends PUBLIC>> getSupportedTypes() {
            ImmutableSortedSet.Builder<ModelType<? extends PUBLIC>> supportedTypes = ImmutableSortedSet.orderedBy(ModelTypes.<PUBLIC>displayOrder());
            for (TypeRegistration<?> registration : registrations.values()) {
                if (registration.isConstructible()) {
                    supportedTypes.add(registration.publicType);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 13:45:02 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  5. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedSet.java

          if (tmp == null) {
            return emptySet(comparator());
          }
          fromElement = tmp;
        }
        return tailSet(fromElement);
      }
    
      public static <E> Builder<E> orderedBy(Comparator<E> comparator) {
        return new Builder<E>(comparator);
      }
    
      public static <E extends Comparable<?>> Builder<E> reverseOrder() {
        return new Builder<E>(Ordering.natural().reverse());
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 08 03:01:02 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/ImmutableSortedMultisetTest.java

        Comparator<String[]> comparator =
            Ordering.natural().lexicographical().onResultOf(Arrays::asList);
        String[] array = new String[] {"a"};
        Multiset<String[]> multiset = ImmutableSortedMultiset.orderedBy(comparator).add(array).build();
        Multiset<String[]> expected = HashMultiset.create();
        expected.add(array);
        assertEquals(expected, multiset);
      }
    
      public void testCreation_arrayContainingOnlyNull() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

       * SortedSet<Integer>} with a {@code Comparator<Number>}, use the {@link Builder} constructor
       * instead.
       *
       * @throws NullPointerException if {@code comparator} is null
       */
      public static <E> Builder<E> orderedBy(Comparator<E> comparator) {
        return new Builder<>(comparator);
      }
    
      /**
       * Returns a builder that creates immutable sorted sets whose elements are ordered by the reverse
       * of their natural ordering.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ImmutableSortedSet.java

       * SortedSet<Integer>} with a {@code Comparator<Number>}, use the {@link Builder} constructor
       * instead.
       *
       * @throws NullPointerException if {@code comparator} is null
       */
      public static <E> Builder<E> orderedBy(Comparator<E> comparator) {
        return new Builder<>(comparator);
      }
    
      /**
       * Returns a builder that creates immutable sorted sets whose elements are ordered by the reverse
       * of their natural ordering.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 08 03:01:02 UTC 2024
    - 38.5K bytes
    - Viewed (0)
  9. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedMap.java

        }
        map.put(key, value);
      }
    
      public static <K extends Comparable<?>, V> Builder<K, V> naturalOrder() {
        return new Builder<K, V>(Ordering.natural());
      }
    
      public static <K, V> Builder<K, V> orderedBy(Comparator<K> comparator) {
        return new Builder<K, V>(comparator);
      }
    
      public static <K extends Comparable<?>, V> Builder<K, V> reverseOrder() {
        return new Builder<K, V>(Ordering.natural().reverse());
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 27 19:19:19 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableSortedMap.java

       * constructor instead.
       *
       * @throws NullPointerException if {@code comparator} is null
       */
      public static <K, V> Builder<K, V> orderedBy(Comparator<K> comparator) {
        return new Builder<>(comparator);
      }
    
      /**
       * Returns a builder that creates immutable sorted maps whose keys are ordered by the reverse of
       * their natural ordering.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 50.3K bytes
    - Viewed (0)
Back to top