Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for ImmutableSortedMultiset (0.12 sec)

  1. guava/src/com/google/common/collect/DescendingImmutableSortedMultiset.java

    /**
     * A descending wrapper around an {@code ImmutableSortedMultiset}
     *
     * @author Louis Wasserman
     */
    @SuppressWarnings("serial") // uses writeReplace, not default serialization
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    final class DescendingImmutableSortedMultiset<E> extends ImmutableSortedMultiset<E> {
      private final transient ImmutableSortedMultiset<E> forward;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/RegularImmutableSortedMultiset.java

    @SuppressWarnings("serial") // uses writeReplace, not default serialization
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    final class RegularImmutableSortedMultiset<E> extends ImmutableSortedMultiset<E> {
      private static final long[] ZERO_CUMULATIVE_COUNTS = {0};
    
      static final ImmutableSortedMultiset<?> NATURAL_EMPTY_MULTISET =
          new RegularImmutableSortedMultiset<>(Ordering.natural());
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/ForwardingSortedMultisetTest.java

                    return wrap(delegate);
                  }
                });
      }
    
      public void testEquals() {
        SortedMultiset<String> set1 = ImmutableSortedMultiset.of("one");
        SortedMultiset<String> set2 = ImmutableSortedMultiset.of("two");
        new EqualsTester()
            .addEqualityGroup(set1, wrap(set1), wrap(set1))
            .addEqualityGroup(set2, wrap(set2))
            .testEquals();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/ForwardingSortedMultisetTest.java

                    return wrap(delegate);
                  }
                });
      }
    
      public void testEquals() {
        SortedMultiset<String> set1 = ImmutableSortedMultiset.of("one");
        SortedMultiset<String> set2 = ImmutableSortedMultiset.of("two");
        new EqualsTester()
            .addEqualityGroup(set1, wrap(set1), wrap(set1))
            .addEqualityGroup(set2, wrap(set2))
            .testEquals();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/FauxveridesTest.java

      }
    
      public void testImmutableSortedSet() {
        doHasAllFauxveridesTest(ImmutableSortedSet.class, ImmutableSet.class);
      }
    
      public void testImmutableSortedMultiset() {
        doHasAllFauxveridesTest(ImmutableSortedMultiset.class, ImmutableMultiset.class);
      }
    
      /*
       * Demonstrate that ClassCastException is possible when calling
       * ImmutableSorted{Set,Map}.copyOf(), whose type parameters we are unable to
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/FauxveridesTest.java

      }
    
      public void testImmutableSortedSet() {
        doHasAllFauxveridesTest(ImmutableSortedSet.class, ImmutableSet.class);
      }
    
      public void testImmutableSortedMultiset() {
        doHasAllFauxveridesTest(ImmutableSortedMultiset.class, ImmutableMultiset.class);
      }
    
      /*
       * Demonstrate that ClassCastException is possible when calling
       * ImmutableSorted{Set,Map}.copyOf(), whose type parameters we are unable to
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 9.2K bytes
    - Viewed (0)
Back to top