Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for SortedMultisets (0.07 sec)

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

    /**
     * Provides static utility methods for creating and working with {@link SortedMultiset} instances.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    final class SortedMultisets {
      private SortedMultisets() {}
    
      /** A skeleton implementation for {@link SortedMultiset#elementSet}. */
      @SuppressWarnings("JdkObsolete") // TODO(b/6160855): Switch GWT emulations to NavigableSet.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/AbstractSortedMultiset.java

      }
    
      @Override
      public NavigableSet<E> elementSet() {
        return (NavigableSet<E>) super.elementSet();
      }
    
      @Override
      NavigableSet<E> createElementSet() {
        return new SortedMultisets.NavigableElementSet<>(this);
      }
    
      @Override
      public Comparator<? super E> comparator() {
        return comparator;
      }
    
      @Override
      public @Nullable Entry<E> firstEntry() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  3. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/AbstractSortedMultiset.java

      }
    
      @Override
      public SortedSet<E> elementSet() {
        return (SortedSet<E>) super.elementSet();
      }
    
      @Override
      SortedSet<E> createElementSet() {
        return new SortedMultisets.ElementSet<E>(this);
      }
    
      @Override
      public Comparator<? super E> comparator() {
        return comparator;
      }
    
      @Override
      public @Nullable Entry<E> firstEntry() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  4. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/DescendingMultiset.java

      }
    
      @Nullable private transient SortedSet<E> elementSet;
    
      @Override
      public SortedSet<E> elementSet() {
        SortedSet<E> result = elementSet;
        if (result == null) {
          return elementSet = new SortedMultisets.ElementSet<E>(this);
        }
        return result;
      }
    
      @Override
      public @Nullable Entry<E> pollFirstEntry() {
        return forwardMultiset().pollLastEntry();
      }
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ForwardingSortedMultiset.java

       * situations, you may wish to override {@link SortedMultiset#elementSet} to forward to this
       * implementation or a subclass thereof.
       *
       * @since 15.0
       */
      protected class StandardElementSet extends SortedMultisets.NavigableElementSet<E> {
        /** Constructor for use by subclasses. */
        public StandardElementSet() {
          super(ForwardingSortedMultiset.this);
        }
      }
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ForwardingSortedMultiset.java

       * situations, you may wish to override {@link SortedMultiset#elementSet} to forward to this
       * implementation or a subclass thereof.
       *
       * @since 15.0
       */
      protected class StandardElementSet extends SortedMultisets.NavigableElementSet<E> {
        /** Constructor for use by subclasses. */
        public StandardElementSet() {
          super(ForwardingSortedMultiset.this);
        }
      }
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  7. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingSortedMultiset.java

       * situations, you may wish to override {@link SortedMultiset#elementSet} to forward to this
       * implementation or a subclass thereof.
       */
      protected class StandardElementSet extends SortedMultisets.ElementSet<E> {
        /** Constructor for use by subclasses. */
        public StandardElementSet() {
          super(ForwardingSortedMultiset.this);
        }
      }
    
      @Override
      public Comparator<? super E> comparator() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 8K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java

    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.List;
    import java.util.NoSuchElementException;
    import org.junit.Ignore;
    
    /**
     * Tester for navigation of SortedMultisets.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 20:14:36 UTC 2024
    - 26K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java

    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.List;
    import java.util.NoSuchElementException;
    import org.junit.Ignore;
    
    /**
     * Tester for navigation of SortedMultisets.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 20:14:36 UTC 2024
    - 26K bytes
    - Viewed (0)
Back to top