Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for sorted (0.17 sec)

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

      /**
       * Returns a builder that creates immutable sorted maps whose keys are ordered by their natural
       * ordering. The sorted maps use {@link Ordering#natural()} as the comparator.
       */
      public static <K extends Comparable<?>, V> Builder<K, V> naturalOrder() {
        return new Builder<>(Ordering.natural());
      }
    
      /**
       * Returns a builder that creates immutable sorted maps with an explicit comparator. If the
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ImmutableSortedMap.java

      /**
       * Returns a builder that creates immutable sorted maps whose keys are ordered by their natural
       * ordering. The sorted maps use {@link Ordering#natural()} as the comparator.
       */
      public static <K extends Comparable<?>, V> Builder<K, V> naturalOrder() {
        return new Builder<>(Ordering.natural());
      }
    
      /**
       * Returns a builder that creates immutable sorted maps with an explicit comparator. If the
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 50.3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/MapsTest.java

        SortedMapDifference<Integer, Integer> diff = Maps.difference(SORTED_EMPTY, SORTED_EMPTY);
        assertTrue(diff.areEqual());
        assertEquals(SORTED_EMPTY, diff.entriesOnlyOnLeft());
        assertEquals(SORTED_EMPTY, diff.entriesOnlyOnRight());
        assertEquals(SORTED_EMPTY, diff.entriesInCommon());
        assertEquals(SORTED_EMPTY, diff.entriesDiffering());
        assertEquals("equal", diff.toString());
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 67.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/MapsTest.java

        SortedMapDifference<Integer, Integer> diff = Maps.difference(SORTED_EMPTY, SORTED_EMPTY);
        assertTrue(diff.areEqual());
        assertEquals(SORTED_EMPTY, diff.entriesOnlyOnLeft());
        assertEquals(SORTED_EMPTY, diff.entriesOnlyOnRight());
        assertEquals(SORTED_EMPTY, diff.entriesInCommon());
        assertEquals(SORTED_EMPTY, diff.entriesDiffering());
        assertEquals("equal", diff.toString());
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 64.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Sets.java

          int expectedSize) {
        return new LinkedHashSet<>(Maps.capacity(expectedSize));
      }
    
      // TreeSet
    
      /**
       * Creates a <i>mutable</i>, empty {@code TreeSet} instance sorted by the natural sort ordering of
       * its elements.
       *
       * <p><b>Note:</b> if mutability is not required, use {@link ImmutableSortedSet#of()} instead.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/Iterators.java

    /**
     * This class contains static utility methods that operate on or return objects of type {@link
     * Iterator}. Except as noted, each method has a corresponding {@link Iterable}-based method in the
     * {@link Iterables} class.
     *
     * <p><i>Performance notes:</i> Unless otherwise noted, all of the iterators produced in this class
     * are <i>lazy</i>, which means that they only advance the backing iteration when absolutely
     * necessary.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jan 30 00:14:39 GMT 2024
    - 50.5K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/project/MavenProject.java

                setActiveProfiles((Collections.unmodifiableList(project.getActiveProfiles())));
            }
    
            if (project.getAttachedArtifacts() != null) {
                // clone properties modifiable by plugins in a forked lifecycle
                setAttachedArtifacts(new ArrayList<>(project.getAttachedArtifacts()));
            }
    
            if (project.getCompileSourceRoots() != null) {
                // clone source roots
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 56.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Iterators.java

    /**
     * This class contains static utility methods that operate on or return objects of type {@link
     * Iterator}. Except as noted, each method has a corresponding {@link Iterable}-based method in the
     * {@link Iterables} class.
     *
     * <p><i>Performance notes:</i> Unless otherwise noted, all of the iterators produced in this class
     * are <i>lazy</i>, which means that they only advance the backing iteration when absolutely
     * necessary.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 51.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/Preconditions.java

       *
       * @param expression a boolean expression
       * @param errorMessageTemplate a template for the exception message should the check fail. The
       *     message is formed by replacing each {@code %s} placeholder in the template with an
       *     argument. These are matched by position - the first {@code %s} gets {@code
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 11 11:52:14 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Multimaps.java

       * weak, or phantom references.
       *
       * @param map place to store the mapping from each key to its corresponding values
       * @param factory supplier of new, empty sorted sets that will each hold all values for a given
       *     key
       * @throws IllegalArgumentException if {@code map} is not empty
       */
      public static <K extends @Nullable Object, V extends @Nullable Object>
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 86.4K bytes
    - Viewed (0)
Back to top