Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for TestMultisetGenerator (0.11 sec)

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

    /**
     * Creates multisets, containing sample elements, to be tested.
     *
     * @author Jared Levy
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public interface TestMultisetGenerator<E extends @Nullable Object>
        extends TestCollectionGenerator<E> {
      @Override
      Multiset<E> create(Object... elements);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/google/TestMultisetGenerator.java

    /**
     * Creates multisets, containing sample elements, to be tested.
     *
     * @author Jared Levy
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public interface TestMultisetGenerator<E extends @Nullable Object>
        extends TestCollectionGenerator<E> {
      @Override
      Multiset<E> create(Object... elements);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/SortedMultisetTestSuiteBuilder.java

            .createTestSuite();
      }
    
      private static class ForwardingTestMultisetGenerator<E> implements TestMultisetGenerator<E> {
        private final TestMultisetGenerator<E> delegate;
    
        ForwardingTestMultisetGenerator(TestMultisetGenerator<E> delegate) {
          this.delegate = delegate;
        }
    
        @Override
        public SampleElements<E> samples() {
          return delegate.samples();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/TestEnumMultisetGenerator.java

    import com.google.common.collect.testing.SampleElements.Enums;
    import java.util.List;
    
    /**
     * 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();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/google/MultisetTestSuiteBuilder.java

     */
    @GwtIncompatible
    public class MultisetTestSuiteBuilder<E>
        extends AbstractCollectionTestSuiteBuilder<MultisetTestSuiteBuilder<E>, E> {
      public static <E> MultisetTestSuiteBuilder<E> using(TestMultisetGenerator<E> generator) {
        return new MultisetTestSuiteBuilder<E>().usingGenerator(generator);
      }
    
      public enum NoRecurse implements Feature<Void> {
        NO_ENTRY_SET;
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/TestStringMultisetGenerator.java

    import java.util.List;
    
    /**
     * Create multisets of strings for tests.
     *
     * @author Jared Levy
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public abstract class TestStringMultisetGenerator implements TestMultisetGenerator<String> {
      @Override
      public SampleElements<String> samples() {
        return new Strings();
      }
    
      @Override
      public Multiset<String> create(Object... elements) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetTestSuiteBuilder.java

     */
    @GwtIncompatible
    public class MultisetTestSuiteBuilder<E>
        extends AbstractCollectionTestSuiteBuilder<MultisetTestSuiteBuilder<E>, E> {
      public static <E> MultisetTestSuiteBuilder<E> using(TestMultisetGenerator<E> generator) {
        return new MultisetTestSuiteBuilder<E>().usingGenerator(generator);
      }
    
      public enum NoRecurse implements Feature<Void> {
        NO_ENTRY_SET;
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapTestSuiteBuilder.java

            orderedValues.add(entry.getValue());
          }
          return orderedValues;
        }
      }
    
      static class KeysGenerator<K, V, M extends Multimap<K, V>>
          implements TestMultisetGenerator<K>, DerivedGenerator {
        private final OneSizeTestContainerGenerator<M, Entry<K, V>> multimapGenerator;
    
        public KeysGenerator(OneSizeTestContainerGenerator<M, Entry<K, V>> multimapGenerator) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.8K bytes
    - Viewed (0)
Back to top