Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 189 for emptyList (0.05 sec)

  1. android/guava-tests/test/com/google/common/collect/ComparatorsTest.java

        assertTrue(isInOrder(asList(0, 3), Ordering.natural()));
        assertTrue(isInOrder(singleton(1), Ordering.natural()));
        assertTrue(isInOrder(Collections.<Integer>emptyList(), Ordering.natural()));
      }
    
      public void testIsInStrictOrder() {
        assertFalse(isInStrictOrder(asList(5, 3, 0, 9), Ordering.natural()));
        assertFalse(isInStrictOrder(asList(0, 5, 3, 9), Ordering.natural()));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/TestsForListsInJavaUtil.java

                new TestStringListGenerator() {
                  @Override
                  public List<String> create(String[] elements) {
                    return emptyList();
                  }
                })
            .named("emptyList")
            .withFeatures(CollectionFeature.SERIALIZABLE, CollectionSize.ZERO)
            .suppressing(suppressForEmptyList())
            .createTestSuite();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapPutIterableTester.java

      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      public void testPutAllEmptyCollectionOnAbsentKey() {
        assertFalse(multimap().putAll(k3(), Collections.<V>emptyList()));
        expectUnchanged();
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      public void testPutAllEmptyIterableOnAbsentKey() {
        Iterable<V> iterable =
            new Iterable<V>() {
              @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/Result.java

    @Deprecated(since = "4.0.0")
    public class Result<T> {
    
        /**
         * Success without warnings
         *
         * @param model
         */
        public static <T> Result<T> success(T model) {
            return success(model, Collections.emptyList());
        }
    
        /**
         * Success with warnings
         *
         * @param model
         * @param problems
         */
        public static <T> Result<T> success(T model, Iterable<? extends ModelProblem> problems) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ImmutableListTest.java

    import static com.google.common.collect.testing.features.CollectionFeature.SERIALIZABLE;
    import static com.google.common.truth.Truth.assertThat;
    import static java.util.Arrays.asList;
    import static java.util.Collections.emptyList;
    import static java.util.Collections.nCopies;
    import static java.util.Collections.singletonList;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/stream/StreamUtil.java

            // nothing
        }
    
        @SafeVarargs
        public static <T> StreamOf<T> stream(final T... values) {
            return new StreamOf<>(() -> values != null ? Arrays.stream(values) : Collections.<T> emptyList().stream());
        }
    
        public static StreamOf<String> split(final String value, final String regex) {
            return stream(value == null ? null : value.split(regex));
        }
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/IteratorsTest.java

    import static com.google.common.collect.testing.IteratorFeature.UNMODIFIABLE;
    import static com.google.common.truth.Truth.assertThat;
    import static java.util.Arrays.asList;
    import static java.util.Collections.emptyList;
    import static java.util.Collections.emptySet;
    import static java.util.Collections.singleton;
    import static java.util.Collections.singletonList;
    
    import com.google.common.annotations.GwtCompatible;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 54.1K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/google/MultimapReplaceValuesTester.java

    import static com.google.common.collect.testing.google.ReflectionFreeAssertThrows.assertThrows;
    import static java.util.Arrays.asList;
    import static java.util.Collections.emptyList;
    import static java.util.Collections.singletonList;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.Multimap;
    import com.google.common.collect.testing.features.CollectionSize;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/Collections2Test.java

            Collections2.permutations(Collections.<Integer>emptyList());
    
        assertEquals(1, permutationSet.size());
        assertTrue(permutationSet.contains(Collections.<Integer>emptyList()));
    
        Iterator<List<Integer>> permutations = permutationSet.iterator();
        assertNextPermutation(Collections.<Integer>emptyList(), permutations);
        assertNoMorePermutations(permutations);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 10:16:44 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/CookieJar.kt

          override fun saveFromResponse(
            url: HttpUrl,
            cookies: List<Cookie>,
          ) {
          }
    
          override fun loadForRequest(url: HttpUrl): List<Cookie> {
            return emptyList()
          }
        }
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.4K bytes
    - Viewed (0)
Back to top