Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 638 for samples (0.07 sec)

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

     *
     * @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];
        int i = 0;
        for (Object e : 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)
  2. guava-testlib/src/com/google/common/collect/testing/testers/ListEqualsTester.java

      @CollectionSize.Require(absent = CollectionSize.ZERO)
      public void testEquals_otherListWithDifferentElements() {
        ArrayList<E> other = new ArrayList<>(getSampleElements());
        other.set(other.size() / 2, getSubjectGenerator().samples().e3());
        assertFalse(
            "A List should not equal another List containing different elements.",
            getList().equals(other));
      }
    
      @CollectionSize.Require(absent = CollectionSize.ZERO)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/TestEnumMapGenerator.java

     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public abstract class TestEnumMapGenerator implements TestMapGenerator<AnEnum, String> {
    
      @Override
      public SampleElements<Entry<AnEnum, String>> samples() {
        return new SampleElements<>(
            mapEntry(AnEnum.A, "January"),
            mapEntry(AnEnum.B, "February"),
            mapEntry(AnEnum.C, "March"),
            mapEntry(AnEnum.D, "April"),
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java

        }
      }
    
      abstract static class TestEntriesGenerator
          implements TestCollectionGenerator<Entry<String, Integer>> {
        @Override
        public SampleElements<Entry<String, Integer>> samples() {
          return new SampleElements<>(
              immutableEntry("bar", 1),
              immutableEntry("bar", 2),
              immutableEntry("foo", 3),
              immutableEntry("bar", 3),
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 28.9K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/TestStringListMultimapGenerator.java

    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public abstract class TestStringListMultimapGenerator
        implements TestListMultimapGenerator<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
    - 3K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/TestStringSetMultimapGenerator.java

    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public abstract class TestStringSetMultimapGenerator
        implements TestSetMultimapGenerator<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
    - 3K bytes
    - Viewed (0)
  9. Makefile.core.mk

    #-----------------------------------------------------------------------------
    # Target: bookinfo sample
    #-----------------------------------------------------------------------------
    
    export BOOKINFO_VERSION ?= 1.18.0
    
    .PHONY: bookinfo.build bookinfo.push
    
    bookinfo.build:
    	@prow/buildx-create
    	@BOOKINFO_TAG=${BOOKINFO_VERSION} BOOKINFO_HUB=${HUB} samples/bookinfo/src/build-services.sh
    
    bookinfo.push: MULTI_ARCH=true
    bookinfo.push:
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 03 23:53:59 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/primitives/ShortArrayAsListTest.java

        return result;
      }
    
      public abstract static class TestShortListGenerator implements TestListGenerator<Short> {
        @Override
        public SampleElements<Short> samples() {
          return new SampleShorts();
        }
    
        @Override
        public List<Short> create(Object... elements) {
          Short[] array = new Short[elements.length];
          short i = 0;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jun 01 09:32:35 UTC 2023
    - 5.6K bytes
    - Viewed (0)
Back to top