Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 103 for string3 (0.19 sec)

  1. android/guava-tests/test/com/google/common/net/InternetDomainNameTest.java

      private static final String DELTA = "\u0394";
    
      /** A domain part which is valid under lenient validation, but invalid under strict validation. */
      static final String LOTS_OF_DELTAS = Strings.repeat(DELTA, 62);
    
      private static final String ALMOST_TOO_MANY_LEVELS = Strings.repeat("a.", 127);
    
      private static final String ALMOST_TOO_LONG = Strings.repeat("aaaaa.", 40) + "1234567890.c";
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Mar 05 13:16:00 GMT 2024
    - 17.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java

        Set<String> set = of("a", "b", "c", "d", "e", "f", "g", "h");
        assertEquals(Sets.newHashSet("a", "b", "c", "d", "e", "f", "g", "h"), set);
      }
    
      public void testCopyOf_emptyArray() {
        String[] array = new String[0];
        Set<String> set = copyOf(array);
        assertEquals(Collections.<String>emptySet(), set);
        assertSame(this.<String>of(), set);
      }
    
      public void testCopyOf_arrayOfOneElement() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java

        Set<String> set = of("a", "b", "c", "d", "e", "f", "g", "h");
        assertEquals(Sets.newHashSet("a", "b", "c", "d", "e", "f", "g", "h"), set);
      }
    
      public void testCopyOf_emptyArray() {
        String[] array = new String[0];
        Set<String> set = copyOf(array);
        assertEquals(Collections.<String>emptySet(), set);
        assertSame(this.<String>of(), set);
      }
    
      public void testCopyOf_arrayOfOneElement() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/hash/Hashing.java

       * Comparisons between the two should take this into account.
       *
       * <p>Fingerprint2011() is a form of Murmur2 on strings up to 32 bytes and a form of CityHash for
       * longer strings. It could have been one or the other throughout. The main advantage of the
       * combination is that CityHash has a bunch of special cases for short strings that don't need to
       * be replicated here. The result will never be 0 or 1.
       *
    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)
  5. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

       *
       * <p>Note that if {@code s} is a {@code Set<String>}, then {@code ImmutableSortedSet.copyOf(s)}
       * returns an {@code ImmutableSortedSet<String>} containing each of the strings in {@code s},
       * while {@code ImmutableSortedSet.of(s)} returns an {@code ImmutableSortedSet<Set<String>>}
       * containing one element (the given set itself).
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java

      public static class ImmutableListMultimapGenerator extends TestStringListMultimapGenerator {
        @Override
        protected ListMultimap<String, String> create(Entry<String, String>[] entries) {
          ImmutableListMultimap.Builder<String, String> builder = ImmutableListMultimap.builder();
          for (Entry<String, String> entry : entries) {
            builder.put(entry.getKey(), entry.getValue());
          }
          return builder.build();
        }
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java

      private static final class ImmutableSetMultimapGenerator extends TestStringSetMultimapGenerator {
        @Override
        protected SetMultimap<String, String> create(Entry<String, String>[] entries) {
          ImmutableSetMultimap.Builder<String, String> builder = ImmutableSetMultimap.builder();
          for (Entry<String, String> entry : entries) {
            builder.put(entry.getKey(), entry.getValue());
          }
          return builder.build();
        }
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 23.4K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/ImmutableSortedMapTest.java

        @Nullable String string;
      }
    
      public void testBuilder_withMutableEntry() {
        ImmutableSortedMap.Builder<String, Integer> builder = ImmutableSortedMap.naturalOrder();
        final StringHolder holder = new StringHolder();
        holder.string = "one";
        Entry<String, Integer> entry =
            new AbstractMapEntry<String, Integer>() {
              @Override
              public String getKey() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 28.1K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/TreeBasedTableTest.java

                      @Override
                      protected SortedMap<String, String> create(Entry<String, String>[] entries) {
                        TreeBasedTable<String, String, String> table = TreeBasedTable.create();
                        table.put("a", "b", "c");
                        table.put("c", "b", "a");
                        table.put("a", "a", "d");
                        for (Entry<String, String> entry : entries) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 15K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/reflect/Types.java

        }
    
        public D getGenericDeclaration() {
          return genericDeclaration;
        }
    
        public String getName() {
          return name;
        }
    
        public String getTypeName() {
          return name;
        }
    
        @Override
        public String toString() {
          return name;
        }
    
        @Override
        public int hashCode() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 23.1K bytes
    - Viewed (0)
Back to top