Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for SortedIterable (0.15 sec)

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

     * An {@code Iterable} whose elements are sorted relative to a {@code Comparator}, typically
     * provided at creation time.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    interface SortedIterable<T extends @Nullable Object> extends Iterable<T> {
      /**
       * Returns the {@code Comparator} by which the elements of this iterable are ordered, or {@code
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 29 02:13:00 UTC 2021
    - 1.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/SortedIterable.java

     * An {@code Iterable} whose elements are sorted relative to a {@code Comparator}, typically
     * provided at creation time.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    interface SortedIterable<T extends @Nullable Object> extends Iterable<T> {
      /**
       * Returns the {@code Comparator} by which the elements of this iterable are ordered, or {@code
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 29 02:13:00 UTC 2021
    - 1.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/SortedIterables.java

        checkNotNull(elements);
        Comparator<?> comparator2;
        if (elements instanceof SortedSet) {
          comparator2 = comparator((SortedSet<?>) elements);
        } else if (elements instanceof SortedIterable) {
          comparator2 = ((SortedIterable<?>) elements).comparator();
        } else {
          return false;
        }
        return comparator.equals(comparator2);
      }
    
      @SuppressWarnings("unchecked")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 30 10:33:07 UTC 2021
    - 2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableSortedAsList.java

     * @author Louis Wasserman
     */
    @GwtCompatible(emulated = true)
    @SuppressWarnings("serial")
    @ElementTypesAreNonnullByDefault
    final class ImmutableSortedAsList<E> extends RegularImmutableAsList<E>
        implements SortedIterable<E> {
      ImmutableSortedAsList(ImmutableSortedSet<E> backingSet, ImmutableList<E> backingList) {
        super(backingSet, backingList);
      }
    
      @Override
      ImmutableSortedSet<E> delegateCollection() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  5. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedSet.java

     *
     * @author Hayward Chan
     */
    @ElementTypesAreNonnullByDefault
    public abstract class ImmutableSortedSet<E> extends ForwardingImmutableSet<E>
        implements SortedSet<E>, SortedIterable<E> {
      // TODO(cpovirk): split into ImmutableSortedSet/ForwardingImmutableSortedSet?
    
      // In the non-emulated source, this is in ImmutableSortedSetFauxverideShim,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Aug 19 16:21:24 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableSortedSet.java

    @SuppressWarnings("serial") // we're overriding default serialization
    @ElementTypesAreNonnullByDefault
    public abstract class ImmutableSortedSet<E> extends ImmutableSet.CachingAsList<E>
        implements NavigableSet<E>, SortedIterable<E> {
      static final int SPLITERATOR_CHARACTERISTICS =
          ImmutableSet.SPLITERATOR_CHARACTERISTICS | Spliterator.SORTED;
    
      /**
       * Returns a {@code Collector} that accumulates the input elements into a new {@code
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 39.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

    @SuppressWarnings("serial") // we're overriding default serialization
    @ElementTypesAreNonnullByDefault
    public abstract class ImmutableSortedSet<E> extends ImmutableSet<E>
        implements NavigableSet<E>, SortedIterable<E> {
      /**
       * Returns a {@code Collector} that accumulates the input elements into a new {@code
       * ImmutableSortedSet}, ordered by the specified comparator.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 36.9K bytes
    - Viewed (0)
Back to top