Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 36 for TestSetGenerator (0.18 sec)

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

     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public interface TestSortedSetGenerator<E extends @Nullable Object> extends TestSetGenerator<E> {
      @Override
      SortedSet<E> create(Object... elements);
    
      /**
       * Returns an element less than the {@link #samples()} and less than {@link
       * #belowSamplesGreater()}.
       */
      E belowSamplesLesser();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/TestMapEntrySetGenerator.java

     *
     * @author Jesse Wilson
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public abstract class TestMapEntrySetGenerator<
            K extends @Nullable Object, V extends @Nullable Object>
        implements TestSetGenerator<Map.Entry<K, V>> {
      private final SampleElements<K> keys;
      private final SampleElements<V> values;
    
      protected TestMapEntrySetGenerator(SampleElements<K> keys, SampleElements<V> values) {
        this.keys = keys;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/MapTestSuiteBuilder.java

        return derivedSuites;
      }
    
      protected SetTestSuiteBuilder<Entry<K, V>> createDerivedEntrySetSuite(
          TestSetGenerator<Entry<K, V>> entrySetGenerator) {
        return SetTestSuiteBuilder.using(entrySetGenerator);
      }
    
      protected SetTestSuiteBuilder<K> createDerivedKeySetSuite(TestSetGenerator<K> keySetGenerator) {
        return SetTestSuiteBuilder.using(keySetGenerator);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 11K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/TestIntegerSetGenerator.java

    import java.util.Set;
    
    /**
     * Create integer sets for collection tests.
     *
     * @author Gregory Kick
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public abstract class TestIntegerSetGenerator implements TestSetGenerator<Integer> {
      @Override
      public SampleElements<Integer> samples() {
        return new Ints();
      }
    
      @Override
      public Set<Integer> create(Object... elements) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/TestStringSetGenerator.java

    import java.util.Set;
    
    /**
     * Create string sets for collection tests.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public abstract class TestStringSetGenerator implements TestSetGenerator<String> {
      @Override
      public SampleElements<String> samples() {
        return new Strings();
      }
    
      @Override
      public Set<String> create(Object... elements) {
        String[] array = new String[elements.length];
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/TestIntegerSetGenerator.java

    import java.util.Set;
    
    /**
     * Create integer sets for collection tests.
     *
     * @author Gregory Kick
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public abstract class TestIntegerSetGenerator implements TestSetGenerator<Integer> {
      @Override
      public SampleElements<Integer> samples() {
        return new Ints();
      }
    
      @Override
      public Set<Integer> create(Object... elements) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/TestMapEntrySetGenerator.java

     *
     * @author Jesse Wilson
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public abstract class TestMapEntrySetGenerator<
            K extends @Nullable Object, V extends @Nullable Object>
        implements TestSetGenerator<Map.Entry<K, V>> {
      private final SampleElements<K> keys;
      private final SampleElements<V> values;
    
      protected TestMapEntrySetGenerator(SampleElements<K> keys, SampleElements<V> values) {
        this.keys = keys;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/TestStringSetGenerator.java

    import java.util.Set;
    
    /**
     * Create string sets for collection tests.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public abstract class TestStringSetGenerator implements TestSetGenerator<String> {
      @Override
      public SampleElements<String> samples() {
        return new Strings();
      }
    
      @Override
      public Set<String> create(Object... elements) {
        String[] array = new String[elements.length];
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java

    import com.google.common.collect.testing.TestCollidingSetGenerator;
    import com.google.common.collect.testing.TestIntegerSortedSetGenerator;
    import com.google.common.collect.testing.TestSetGenerator;
    import com.google.common.collect.testing.TestStringListGenerator;
    import com.google.common.collect.testing.TestStringSetGenerator;
    import com.google.common.collect.testing.TestStringSortedSetGenerator;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/SortedMapTestSuiteBuilder.java

          derivedSuites.add(createSubmapSuite(parentBuilder, Bound.INCLUSIVE, Bound.EXCLUSIVE));
        }
    
        return derivedSuites;
      }
    
      @Override
      protected SetTestSuiteBuilder<K> createDerivedKeySetSuite(TestSetGenerator<K> keySetGenerator) {
        return keySetGenerator instanceof TestSortedSetGenerator
            ? SortedSetTestSuiteBuilder.using((TestSortedSetGenerator<K>) keySetGenerator)
            : SetTestSuiteBuilder.using(keySetGenerator);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top