Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,181 for reversed (0.16 sec)

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

       * // returns {"elephant", "banana"}
       * }</pre>
       *
       * <p>This {@code Collector} uses O(k) memory and takes expected time O(n) (worst-case O(n log
       * k)), as opposed to e.g. {@code Stream.sorted(comparator.reversed()).limit(k)}, which currently
       * takes O(n log n) time and O(n) space.
       *
       * @throws IllegalArgumentException if {@code k < 0}
       * @since 33.2.0 (available since 22.0 in guava-jre)
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/Comparators.java

       * k)), as opposed to e.g. {@code Stream.sorted(comparator.reversed()).limit(k)}, which currently
       * takes O(n log n) time and O(n) space.
       *
       * @throws IllegalArgumentException if {@code k < 0}
       * @since 22.0
       */
      public static <T extends @Nullable Object> Collector<T, ?, List<T>> greatest(
          int k, Comparator<? super T> comparator) {
        return least(k, comparator.reversed());
      }
    
      /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 10.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/graph/Graphs.java

      }
    
      // Graph mutation methods
    
      // Graph view methods
    
      /**
       * Returns a view of {@code graph} with the direction (if any) of every edge reversed. All other
       * properties remain intact, and further updates to {@code graph} will be reflected in the view.
       */
      public static <N> Graph<N> transpose(Graph<N> graph) {
        if (!graph.isDirected()) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.2K bytes
    - Viewed (0)
  4. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateReleasedVersions.kt

                    },
                    if (currentReleasedVersion.gradleVersion().finalRelease()) {
                        (releasedVersions.finalReleases + currentReleasedVersion).sortedBy { it.gradleVersion() }.reversed()
                    } else {
                        releasedVersions.finalReleases
                    }
                )
    
            private
            fun newerVersion(releasedVersion: ReleasedVersion, other: ReleasedVersion) =
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Jul 07 13:12:26 GMT 2021
    - 3.5K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/BiMap.java

     * that of its keys. This constraint enables bimaps to support an "inverse view", which is another
     * bimap containing the same entries as this bimap but with reversed keys and values.
     *
     * <h3>Implementations</h3>
     *
     * <ul>
     *   <li>{@link ImmutableBiMap}
     *   <li>{@link HashBiMap}
     *   <li>{@link EnumBiMap}
     *   <li>{@link EnumHashBiMap}
     * </ul>
     *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Sat Jun 17 14:40:53 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/BiMap.java

     * that of its keys. This constraint enables bimaps to support an "inverse view", which is another
     * bimap containing the same entries as this bimap but with reversed keys and values.
     *
     * <h3>Implementations</h3>
     *
     * <ul>
     *   <li>{@link ImmutableBiMap}
     *   <li>{@link HashBiMap}
     *   <li>{@link EnumBiMap}
     *   <li>{@link EnumHashBiMap}
     * </ul>
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sat Jun 17 14:40:53 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  7. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateAgpVersions.kt

            .parse(url)
            .getElementsByTagName("version").let { versions ->
                (0 until versions.length)
                    .map { idx -> (versions.item(idx) as Element).textContent }
                    .reversed()
            }
    
    
    internal
    fun Properties.store(file: java.io.File, comment: String? = null) {
        PropertiesUtils.store(this, file, comment, Charsets.ISO_8859_1, "\n")
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Jun 02 09:17:07 GMT 2023
    - 5.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/GeneralRange.java

      }
    
      @LazyInit @CheckForNull private transient GeneralRange<T> reverse;
    
      /** Returns the same range relative to the reversed comparator. */
      GeneralRange<T> reverse() {
        GeneralRange<T> result = reverse;
        if (result == null) {
          result =
              new GeneralRange<>(
                  Ordering.from(comparator).reverse(),
                  hasUpperBound,
                  getUpperEndpoint(),
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 10.8K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/GeneralRange.java

      }
    
      @LazyInit @CheckForNull private transient GeneralRange<T> reverse;
    
      /** Returns the same range relative to the reversed comparator. */
      GeneralRange<T> reverse() {
        GeneralRange<T> result = reverse;
        if (result == null) {
          result =
              new GeneralRange<>(
                  Ordering.from(comparator).reverse(),
                  hasUpperBound,
                  getUpperEndpoint(),
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 10.8K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/internal/impl/SisuDiBridgeModule.java

                        List<Binding<Q>> bindingList = new ArrayList<>(res);
                        Comparator<Binding<Q>> comparing = Comparator.comparing(Binding::getPriority);
                        bindingList.sort(comparing.reversed());
                        Binding<Q> binding = bindingList.get(0);
                        return compile(binding);
                    }
                    if (key.getRawType() == List.class) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 8K bytes
    - Viewed (0)
Back to top