Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,175 for string (0.14 sec)

  1. guava/src/com/google/common/base/Strings.java

       *
       * @param string a string reference to check
       * @return {@code true} if the string is null or is the empty string
       */
      public static boolean isNullOrEmpty(@CheckForNull String string) {
        return Platform.stringIsNullOrEmpty(string);
      }
    
      /**
       * Returns a string, of length at least {@code minLength}, consisting of {@code string} prepended
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Sep 17 20:47:03 GMT 2021
    - 12.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/MapsCollectionTest.java

            }
          };
    
      static final Predicate<String> FILTER_VALUES =
          new Predicate<String>() {
            @Override
            public boolean apply(@Nullable String string) {
              return !"toast".equals(string) && !"spam".equals(string);
            }
          };
    
      static final Predicate<Entry<String, String>> FILTER_ENTRIES =
          new Predicate<Entry<String, String>>() {
            @Override
    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/util/concurrent/FuturesGetCheckedInputs.java

            String message, String a1, String a2, String a3, String a4) {
          super(message);
        }
    
        public ExceptionWithManyConstructorsButOnlyOneThrowable(
            String message, String a1, String a2, String a3, String a4, String a5) {
          super(message);
        }
    
        public ExceptionWithManyConstructorsButOnlyOneThrowable(
            String message, String a1, String a2, String a3, String a4, String a5, String a6) {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 13:46:56 GMT 2023
    - 6.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/TableCollectionTest.java

                .withFeatures(CollectionFeature.SUPPORTS_ITERATOR_REMOVE)
                .createTestSuite());
    
        final Function<String, String> removeFirstCharacter =
            new Function<String, String>() {
              @Override
              public String apply(String input) {
                return input.substring(1);
              }
            };
    
        suite.addTest(
            CollectionTestSuiteBuilder.using(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 35.3K bytes
    - Viewed (0)
  5. android/guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java

        @Override
        protected final Map<String, String> create(Entry<String, String>[] entries) {
          HashMap<String, String> map = Maps.newHashMap();
          for (Entry<String, String> entry : entries) {
            map.put(entry.getKey(), entry.getValue());
          }
          return wrap(map);
        }
    
        abstract Map<String, String> wrap(HashMap<String, String> map);
      }
    
      private static TestSuite wrappedHashMapTests(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 11.5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/ImmutableSortedMultisetTest.java

        String[] array = new String[] {"a"};
        Multiset<String> multiset = ImmutableSortedMultiset.copyOf(array);
        assertEquals(HashMultiset.create(asList("a")), multiset);
      }
    
      public void testCreation_arrayOfArray() {
        Comparator<String[]> comparator =
            Ordering.natural().lexicographical().onResultOf(Arrays::asList);
        String[] array = new String[] {"a"};
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  7. guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java

        @Override
        protected final Map<String, String> create(Entry<String, String>[] entries) {
          HashMap<String, String> map = Maps.newHashMap();
          for (Entry<String, String> entry : entries) {
            map.put(entry.getKey(), entry.getValue());
          }
          return wrap(map);
        }
    
        abstract Map<String, String> wrap(HashMap<String, String> map);
      }
    
      private static TestSuite wrappedHashMapTests(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 11.9K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/google/MapGenerators.java

    public class MapGenerators {
      public static class ImmutableMapGenerator extends TestStringMapGenerator {
        @Override
        protected Map<String, String> create(Entry<String, String>[] entries) {
          ImmutableMap.Builder<String, String> builder = ImmutableMap.builder();
          for (Entry<String, String> entry : entries) {
            builder.put(entry.getKey(), entry.getValue());
          }
          return builder.buildOrThrow();
        }
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/ImmutableSortedMultisetTest.java

        String[] array = new String[] {"a"};
        Multiset<String> multiset = ImmutableSortedMultiset.copyOf(array);
        assertEquals(HashMultiset.create(asList("a")), multiset);
      }
    
      public void testCreation_arrayOfArray() {
        Comparator<String[]> comparator =
            Ordering.natural().lexicographical().onResultOf(Arrays::asList);
        String[] array = new String[] {"a"};
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 19.4K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/base/ConverterTest.java

        return new Converter<String, String>(handleNullAutomatically) {
          @Override
          protected String doForward(String string) {
            return "forward";
          }
    
          @Override
          protected String doBackward(String string) {
            return "backward";
          }
        };
      }
    
      public void testSerialization_identity() {
        Converter<String, String> identityConverter = Converter.identity();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Oct 06 17:02:33 GMT 2023
    - 7.8K bytes
    - Viewed (0)
Back to top