Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 90 for SampleElements (0.07 sec)

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

        this.generator = generator;
        this.collectionSize = collectionSize;
      }
    
      @Override
      public TestContainerGenerator<T, E> getInnerGenerator() {
        return generator;
      }
    
      @Override
      public SampleElements<E> samples() {
        return generator.samples();
      }
    
      @Override
      public T create(Object... elements) {
        return generator.create(elements);
      }
    
      @Override
      public E[] createArray(int length) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/TestStringMapGenerator.java

     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public abstract class TestStringMapGenerator implements TestMapGenerator<String, String> {
    
      @Override
      public SampleElements<Entry<String, String>> samples() {
        return new SampleElements<>(
            mapEntry("one", "January"),
            mapEntry("two", "February"),
            mapEntry("three", "March"),
            mapEntry("four", "April"),
            mapEntry("five", "May"));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/TestStringCollectionGenerator.java

    import com.google.common.collect.testing.SampleElements.Strings;
    import java.util.Collection;
    import java.util.List;
    
    /**
     * String creation for testing arbitrary collections.
     *
     * @author Jared Levy
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public abstract class TestStringCollectionGenerator implements TestCollectionGenerator<String> {
      @Override
      public SampleElements<String> samples() {
        return new Strings();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/TestStringQueueGenerator.java

    import com.google.common.collect.testing.SampleElements.Strings;
    import java.util.List;
    import java.util.Queue;
    
    /**
     * Create queue of strings for tests.
     *
     * @author Jared Levy
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public abstract class TestStringQueueGenerator implements TestQueueGenerator<String> {
      @Override
      public SampleElements<String> samples() {
        return new Strings();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/TestStringListGenerator.java

    import com.google.common.collect.testing.SampleElements.Strings;
    import java.util.List;
    
    /**
     * TODO: javadoc.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public abstract class TestStringListGenerator implements TestListGenerator<String> {
      @Override
      public SampleElements<String> samples() {
        return new Strings();
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/TestCharacterListGenerator.java

     * limitations under the License.
     */
    
    package com.google.common.collect.testing;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.testing.SampleElements.Chars;
    import java.util.List;
    
    /**
     * Generates {@code List<Character>} instances for test suites.
     *
     * @author Kevin Bourrillion
     * @author Louis Wasserman
     */
    @GwtCompatible
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/TestUnhashableCollectionGenerator.java

     * limitations under the License.
     */
    
    package com.google.common.collect.testing;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.testing.SampleElements.Unhashables;
    import java.util.Collection;
    import java.util.List;
    
    /**
     * Creates collections containing unhashable sample elements, to be tested.
     *
     * @author Regina O'Dell
     */
    @GwtCompatible
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/reflect/ImmutableTypeToInstanceMapTest.java

        }
    
        @Override
        public Object[] createValueArray(int length) {
          return new Object[length];
        }
    
        @Override
        public SampleElements<Entry<TypeToken, Object>> samples() {
          return new SampleElements<>(
              entry(TypeToken.of(Integer.class), 0),
              entry(TypeToken.of(Number.class), 1),
              entry(new TypeToken<ImmutableList<Integer>>() {}, ImmutableList.of(2)),
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/google/SortedMapGenerators.java

        }
      }
    
      public static class ImmutableSortedMapEntryListGenerator
          implements TestListGenerator<Entry<String, Integer>> {
    
        @Override
        public SampleElements<Entry<String, Integer>> samples() {
          return new SampleElements<>(
              mapEntry("foo", 5),
              mapEntry("bar", 3),
              mapEntry("baz", 17),
              mapEntry("quux", 1),
              mapEntry("toaster", -2));
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/TestIntegerSetGenerator.java

    import com.google.common.collect.testing.SampleElements.Ints;
    import java.util.List;
    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();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 2.1K bytes
    - Viewed (0)
Back to top