Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for SortedIterable (0.04 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)
Back to top