Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 201 for Ordering (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. guava-testlib/src/com/google/common/collect/testing/TestStringSortedSetGenerator.java

    import com.google.common.annotations.GwtCompatible;
    import java.util.List;
    import java.util.SortedSet;
    import org.jspecify.annotations.NullMarked;
    
    /**
     * Create string sets for testing collections that are sorted by natural ordering.
     *
     * @author Jared Levy
     */
    @GwtCompatible
    @NullMarked
    public abstract class TestStringSortedSetGenerator extends TestStringSetGenerator
        implements TestSortedSetGenerator<String> {
    
      @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Feb 11 19:03:19 GMT 2025
    - 2K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/AbstractListMultimap.java

      }
    
      // Following Javadoc copied from ListMultimap.
    
      /**
       * {@inheritDoc}
       *
       * <p>Because the values for a given key may have duplicates and follow the insertion ordering,
       * this method returns a {@link List}, instead of the {@link Collection} specified in the {@link
       * Multimap} interface.
       */
      @Override
      public List<V> get(@ParametricNullness K key) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Apr 12 15:07:59 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/SortedLists.java

       * KeyAbsentBehavior)} using {@link Ordering#natural}.
       */
      @SuppressWarnings("rawtypes") // https://github.com/google/guava/issues/989
      public static <E extends Comparable> int binarySearch(
          List<? extends E> list,
          E e,
          KeyPresentBehavior presentBehavior,
          KeyAbsentBehavior absentBehavior) {
        checkNotNull(e);
        return binarySearch(list, e, Ordering.natural(), presentBehavior, absentBehavior);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 10.9K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/collect/TreeMultisetTest.java

                        return TreeMultiset.create(asList(elements));
                      }
    
                      @Override
                      public List<String> order(List<String> insertionOrder) {
                        return Ordering.natural().sortedCopy(insertionOrder);
                      }
                    })
                .withFeatures(
                    CollectionSize.ANY,
                    CollectionFeature.KNOWN_ORDER,
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 13K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/crawler/service/FessUrlQueueService.java

            super(crawlerConfig);
        }
    
        /**
         * Fetches URL queue list for the specified session with configurable ordering strategy.
         * Supports sequential (default) and random ordering based on crawling configuration.
         *
         * @param sessionId the crawling session identifier
         * @return list of URL queue entries for processing
         */
        @Override
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 4K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/collect/TreeMultimapExplicitTest.java

        assertThat(copy.keySet()).containsExactly("google", "tree").inOrder();
        assertThat(copy.get("google")).containsExactly(2, 6).inOrder();
        assertEquals(Ordering.natural(), copy.keyComparator());
        assertEquals(Ordering.natural(), copy.valueComparator());
        assertEquals(Ordering.natural(), copy.get("google").comparator());
      }
    
      public void testToString() {
        Multimap<String, Integer> multimap = create();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 8.4K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/collect/TreeMultisetTest.java

                        return TreeMultiset.create(asList(elements));
                      }
    
                      @Override
                      public List<String> order(List<String> insertionOrder) {
                        return Ordering.natural().sortedCopy(insertionOrder);
                      }
                    })
                .withFeatures(
                    CollectionSize.ANY,
                    CollectionFeature.KNOWN_ORDER,
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 13K bytes
    - Click Count (0)
  8. guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

     * implementation considerably. The assumption is that a user of this factory wishes to eliminate
     * any cyclic acquisition ordering.
     *
     * <p><strong>Explicit Lock Acquisition Ordering</strong>
     *
     * <p>The {@link CycleDetectingLockFactory.WithExplicitOrdering} class can be used to enforce an
     * application-specific ordering in addition to performing general cycle detection.
     *
     * <p><strong>Garbage Collection</strong>
     *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Sep 11 17:06:34 GMT 2025
    - 35.9K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java

        assertThrows(IllegalArgumentException.class, () -> builder.expectedValuesPerKey(-1));
      }
    
      public void testBuilderWithExpectedValuesPerKeyZeroOrderValuesBy() {
        ImmutableSetMultimap.Builder<String, String> builder =
            ImmutableSetMultimap.<String, String>builder()
                .orderValuesBy(Ordering.natural())
                .expectedValuesPerKey(0);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 27K bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/Comparators.java

     * com.google.common.collect.Ordering} (otherwise).
     *
     * <h3>Relationship to {@code Ordering}</h3>
     *
     * <p>In light of the significant enhancements to {@code Comparator} in Java 8, the overwhelming
     * majority of usages of {@code Ordering} can be written using only built-in JDK APIs. This class is
     * intended to "fill the gap" and provide those features of {@code Ordering} not already provided by
     * the JDK.
     *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 10.9K bytes
    - Click Count (0)
Back to Top