Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for SortedIterable (0.09 sec)

  1. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  2. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/SortedMultiset.java

     * SortedSet} for GWT compatibility.
     *
     * @author Louis Wasserman
     * @since 11.0
     */
    public interface SortedMultiset<E extends @Nullable Object> extends Multiset<E>, SortedIterable<E> {
      Comparator<? super E> comparator();
    
      @Nullable Entry<E> firstEntry();
    
      @Nullable Entry<E> lastEntry();
    
      @Nullable Entry<E> pollFirstEntry();
    
      @Nullable Entry<E> pollLastEntry();
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  3. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedSet.java

    /**
     * GWT emulation of {@link com.google.common.collect.ImmutableSortedSet}.
     *
     * @author Hayward Chan
     */
    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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

    @GwtCompatible
    @SuppressWarnings("serial") // we're overriding default serialization
    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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 36.8K bytes
    - Viewed (0)
Back to top