Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TestEnumMultisetGenerator (0.23 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/google/TestEnumMultisetGenerator.java

    /**
     * An abstract {@code TestMultisetGenerator} for generating multisets containing enum values.
     *
     * @author Jared Levy
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public abstract class TestEnumMultisetGenerator implements TestMultisetGenerator<AnEnum> {
      @Override
      public SampleElements<AnEnum> samples() {
        return new Enums();
      }
    
      @Override
      public Multiset<AnEnum> create(Object... elements) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/EnumMultisetTest.java

                .named("EnumMultiset")
                .createTestSuite());
        suite.addTestSuite(EnumMultisetTest.class);
        return suite;
      }
    
      private static TestEnumMultisetGenerator enumMultisetGenerator() {
        return new TestEnumMultisetGenerator() {
          @Override
          protected Multiset<AnEnum> create(AnEnum[] elements) {
            return (elements.length == 0)
                ? EnumMultiset.create(AnEnum.class)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 5.9K bytes
    - Viewed (0)
Back to top