Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for _1 (0.17 sec)

  1. android/guava-tests/test/com/google/common/base/JoinerTest.java

        checkNoOutput(skipNulls, ITERABLE_FOUR_NULLS);
        checkResult(skipNulls, ITERABLE_1, "1");
        checkResult(skipNulls, ITERABLE_12, "1-2");
        checkResult(skipNulls, ITERABLE_123, "1-2-3");
        checkResult(skipNulls, ITERABLE_NULL_1, "1");
        checkResult(skipNulls, ITERABLE_1_NULL, "1");
        checkResult(skipNulls, ITERABLE_1_NULL_2, "1-2");
      }
    
      public void testUseForNull() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 12.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/MapsCollectionTest.java

                        Map<String, String> map = Maps.newHashMap();
                        putEntries(map, entries);
                        map.putAll(ENTRIES_TO_FILTER);
                        map = Maps.filterEntries(map, FILTER_ENTRIES_1);
                        return Maps.filterEntries(map, FILTER_ENTRIES_2);
                      }
                    })
                .named("Maps.filterEntries[Maps.filterEntries[Map, Predicate], Predicate]")
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 32.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/base/JoinerTest.java

        checkNoOutput(skipNulls, ITERABLE_FOUR_NULLS);
        checkResult(skipNulls, ITERABLE_1, "1");
        checkResult(skipNulls, ITERABLE_12, "1-2");
        checkResult(skipNulls, ITERABLE_123, "1-2-3");
        checkResult(skipNulls, ITERABLE_NULL_1, "1");
        checkResult(skipNulls, ITERABLE_1_NULL, "1");
        checkResult(skipNulls, ITERABLE_1_NULL_2, "1-2");
      }
    
      public void testUseForNull() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 12.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/SetsTest.java

                        unfiltered.add("yyy");
                        unfiltered.addAll(ImmutableList.copyOf(elements));
                        unfiltered.add("zzz");
                        return Sets.filter(unfiltered, Collections2Test.LENGTH_1);
                      }
                    })
                .named("Sets.filter, no nulls")
                .withFeatures(
                    CollectionFeature.SUPPORTS_ADD,
                    CollectionFeature.SUPPORTS_REMOVE,
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 49.3K bytes
    - Viewed (0)
  5. android/guava-testlib/test/com/google/common/collect/testing/features/FeatureUtilTest.java

        }
      }
    
      enum ExampleDerivedFeature implements Feature<ExampleDerivedInterface> {
        DERIVED_FEATURE_1,
        DERIVED_FEATURE_2(ExampleBaseFeature.BASE_FEATURE_1),
        DERIVED_FEATURE_3,
    
        COMPOUND_DERIVED_FEATURE(
            DERIVED_FEATURE_1, DERIVED_FEATURE_2, ExampleBaseFeature.BASE_FEATURE_2);
    
        private Set<Feature<? super ExampleDerivedInterface>> implied;
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 10.4K bytes
    - Viewed (2)
  6. android/guava/src/com/google/common/hash/Hashing.java

       *     </ul>
       */
      @Deprecated
      public static HashFunction sha1() {
        return Sha1Holder.SHA_1;
      }
    
      private static class Sha1Holder {
        static final HashFunction SHA_1 = new MessageDigestHashFunction("SHA-1", "Hashing.sha1()");
      }
    
      /** Returns a hash function implementing the SHA-256 algorithm (256 hash bits). */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 09 00:37:15 GMT 2024
    - 29.2K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/ListsTest.java

        assertEquals(0, partitions.size());
      }
    
      public void testPartition_1_1() {
        List<Integer> source = Collections.singletonList(1);
        List<List<Integer>> partitions = Lists.partition(source, 1);
        assertEquals(1, partitions.size());
        assertEquals(Collections.singletonList(1), partitions.get(0));
      }
    
      public void testPartition_1_2() {
        List<Integer> source = Collections.singletonList(1);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 35.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/Charsets.java

       * ISO-8859-1: ISO Latin Alphabet Number 1 (ISO-LATIN-1).
       *
       * <p><b>Java 7+ users:</b> this constant should be treated as deprecated; use {@link
       * java.nio.charset.StandardCharsets#ISO_8859_1} instead.
       *
       */
      public static final Charset ISO_8859_1 = Charset.forName("ISO-8859-1");
    
      /**
       * UTF-8: eight-bit UCS Transformation Format.
       *
       * <p><b>Java 7+ users:</b> this constant should be treated as deprecated; use {@link
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/Collections2Test.java

        return suite;
      }
    
      static final Predicate<@Nullable String> NOT_YYY_ZZZ =
          input -> !"yyy".equals(input) && !"zzz".equals(input);
    
      static final Predicate<String> LENGTH_1 = input -> input.length() == 1;
    
      @J2ktIncompatible
      @GwtIncompatible // suite
      private static Test testsForFilter() {
        return CollectionTestSuiteBuilder.using(
                new TestStringCollectionGenerator() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 19.7K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/Collections2Test.java

        return suite;
      }
    
      static final Predicate<@Nullable String> NOT_YYY_ZZZ =
          input -> !"yyy".equals(input) && !"zzz".equals(input);
    
      static final Predicate<String> LENGTH_1 = input -> input.length() == 1;
    
      @J2ktIncompatible
      @GwtIncompatible // suite
      private static Test testsForFilter() {
        return CollectionTestSuiteBuilder.using(
                new TestStringCollectionGenerator() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 19.7K bytes
    - Viewed (0)
Back to top