Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 171 - 180 of 308 for orderings (0.07 seconds)

  1. guava/src/com/google/common/util/concurrent/Service.java

       * service changes state. The listener will not have previous state changes replayed, so it is
       * suggested that listeners are added before the service starts.
       *
       * <p>{@code addListener} guarantees execution ordering across calls to a given listener but not
       * across calls to multiple listeners. Specifically, a given listener will have its callbacks
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 12.2K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/MultimapBuilder.java

    import java.util.TreeMap;
    import java.util.TreeSet;
    import org.jspecify.annotations.Nullable;
    
    /**
     * An immutable builder for {@link Multimap} instances, letting you independently select the desired
     * behaviors (for example, ordering) of the backing map and value-collections. Example:
     *
     * {@snippet :
     * ListMultimap<UserId, ErrorResponse> errorsByUser =
     *     MultimapBuilder.linkedHashKeys().arrayListValues().build();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 18K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/DescendingMultiset.java

      @LazyInit private transient @Nullable Comparator<? super E> comparator;
    
      @Override
      public Comparator<? super E> comparator() {
        Comparator<? super E> result = comparator;
        if (result == null) {
          result = Ordering.from(forwardMultiset().comparator()).reverse();
          comparator = result;
        }
        return result;
      }
    
      @LazyInit private transient @Nullable NavigableSet<E> elementSet;
    
      @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/collect/FilteredCollectionsTestUtil.java

            C filtered = filter(createUnfiltered(contents), EVEN);
    
            try {
              Integer first = filtered.first();
              assertFalse(filtered.isEmpty());
              assertEquals(Ordering.natural().min(filtered), first);
            } catch (NoSuchElementException e) {
              assertTrue(filtered.isEmpty());
            }
          }
        }
    
        public void testLast() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 13.1K bytes
    - Click Count (0)
  5. src/main/java/jcifs/pac/PacDataInputStream.java

    import java.io.InputStream;
    import java.math.BigInteger;
    import java.util.Date;
    
    import jcifs.SmbConstants;
    import jcifs.smb.SID;
    
    /**
     * Input stream for reading PAC data structures with proper alignment and byte ordering.
     * Handles little-endian byte order and data alignment requirements of PAC structures.
     */
    public class PacDataInputStream {
    
        private final DataInputStream dis;
        private final int size;
    
        /**
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/Collections2.java

          Iterable<E> elements) {
        return orderedPermutations(elements, Ordering.natural());
      }
    
      /**
       * Returns a {@link Collection} of all the permutations of the specified {@link Iterable} using
       * the specified {@link Comparator} for establishing the lexicographical ordering.
       *
       * <p>Examples:
       *
       * {@snippet :
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 22.6K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/TreeMultiset.java

       *     indicates that the elements' <i>natural ordering</i> should be used.
       */
      @SuppressWarnings("unchecked")
      public static <E extends @Nullable Object> TreeMultiset<E> create(
          @Nullable Comparator<? super E> comparator) {
        return (comparator == null)
            ? new TreeMultiset<E>((Comparator) Ordering.natural())
            : new TreeMultiset<E>(comparator);
      }
    
      /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Dec 09 15:58:48 GMT 2025
    - 33.9K bytes
    - Click Count (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/ListTestSuiteBuilder.java

        testers.add(ListToArrayTester.class);
        return testers;
      }
    
      /**
       * Specifies {@link CollectionFeature#KNOWN_ORDER} for all list tests, since lists have an
       * iteration ordering corresponding to the insertion order.
       */
      @Override
      public TestSuite createTestSuite() {
        withFeatures(KNOWN_ORDER);
        return super.createTestSuite();
      }
    
      @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/AbstractSetMultimap.java

      /**
       * Compares the specified object to this multimap for equality.
       *
       * <p>Two {@code SetMultimap} instances are equal if, for each key, they contain the same values.
       * Equality does not depend on the ordering of keys or values.
       */
      @Override
      public boolean equals(@Nullable Object object) {
        return super.equals(object);
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Mar 20 13:05:10 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/RepositoryAwareRequest.java

     * <ul>
     *   <li>Preventing duplicate repositories that could cause confusion</li>
     *   <li>Rejecting null repository entries that would cause failures</li>
     *   <li>Maintaining consistent repository ordering for reproducible builds</li>
     * </ul>
     *
     * @since 4.0.0
     * @see RemoteRepository
     * @see Session#getRemoteRepositories()
     */
    @Experimental
    @Immutable
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 10 07:30:49 GMT 2025
    - 5K bytes
    - Click Count (0)
Back to Top