Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 234 for Ordered (0.12 seconds)

  1. guava/src/com/google/common/collect/Platform.java

          Map<K, V> newHashMapWithExpectedSize(int expectedSize) {
        return Maps.newHashMapWithExpectedSize(expectedSize);
      }
    
      /**
       * Returns the platform preferred implementation of an insertion ordered map based on a hash
       * table.
       */
      static <K extends @Nullable Object, V extends @Nullable Object>
          Map<K, V> newLinkedHashMapWithExpectedSize(int expectedSize) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Jan 23 17:16:53 GMT 2026
    - 4.7K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/app/service/DuplicateHostService.java

            });
    
        }
    
        /**
         * Retrieves all duplicate host configurations without pagination.
         *
         * <p>This method returns all duplicate host configurations in the system,
         * ordered by sort order, regular name, and duplicate hostname. The results
         * are limited by the configured maximum fetch size to prevent memory issues.</p>
         *
         * @return a list of all DuplicateHost entities
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java

        Helpers.testComparator(comparator, ordered);
        assertThat(SerializableTester.reserialize(comparator)).isSameInstanceAs(comparator);
    
        // The Java implementation.
        Comparator<byte[]> javaImpl = UnsignedBytes.lexicographicalComparatorJavaImpl();
        Helpers.testComparator(javaImpl, ordered);
        assertThat(SerializableTester.reserialize(javaImpl)).isSameInstanceAs(javaImpl);
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 13.6K bytes
    - Click Count (0)
  4. guava-testlib/src/com/google/common/collect/testing/google/MultimapTestSuiteBuilder.java

            }
            map.put(entry.getKey(), entry.getValue());
          }
          Iterable<Entry<K, V>> ordered = multimapGenerator.order(builder);
          LinkedHashMap<K, Collection<V>> orderedMap = new LinkedHashMap<>();
          for (Entry<K, V> entry : ordered) {
            orderedMap.put(entry.getKey(), map.get(entry.getKey()));
          }
          return orderedMap.entrySet();
        }
    
        @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 02 19:58:40 GMT 2026
    - 26.8K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/TreeMultimap.java

    import java.util.NavigableSet;
    import java.util.SortedSet;
    import java.util.TreeMap;
    import java.util.TreeSet;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Implementation of {@code Multimap} whose keys and values are ordered by their natural ordering or
     * by supplied comparators. In all cases, this implementation uses {@link Comparable#compareTo} or
     * {@link Comparator#compare} instead of {@link Object#equals} to determine equivalence of
     * instances.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  6. 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 Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 1.4K bytes
    - Click Count (0)
  7. 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 Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 1.4K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/graph/MutableValueGraph.java

       *
       * <p>If the graph is directed, the resultant edge will be directed; otherwise, it will be
       * undirected.
       *
       * <p>If this graph is directed, {@code endpoints} must be ordered.
       *
       * <p>Values do not have to be unique. However, values must be non-null.
       *
       * <p>If either or both endpoints are not already present in this graph, this method will silently
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 01:10:31 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  9. guava-testlib/src/com/google/common/collect/testing/testers/CollectionForEachTester.java

      public void testForEachKnownOrder() {
        List<E> elements = new ArrayList<>();
        collection.forEach(elements::add);
        List<E> expected = copyToList(getOrderedElements());
        assertEquals("Different ordered iteration", expected, elements);
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 2.2K bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/SortedIterables.java

        } else {
          return false;
        }
        return comparator.equals(comparator2);
      }
    
      @SuppressWarnings("unchecked")
      // if sortedSet.comparator() is null, the set must be naturally ordered
      public static <E extends @Nullable Object> Comparator<? super E> comparator(
          SortedSet<E> sortedSet) {
        Comparator<? super E> result = sortedSet.comparator();
        if (result == null) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2K bytes
    - Click Count (0)
Back to Top