Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 3,127 for Strings (0.46 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. src/main/java/jcifs/util/Strings.java

        private static final String SECRET_PATTERN = "^(smb.*:).*(@.*)$";
        private static final String SECRET_MASK_REPLACE = "$1******$2";
    
        /**
         * 
         */
        private Strings () {}
    
    
        /**
         * 
         * @param str
         * @param encoding
         * @return encoded
         */
        public static byte[] getBytes ( String str, Charset encoding ) {
            if ( str == null ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/hash/Fingerprint2011Test.java

          }
        }
    
        String stringA = new String(charsA);
        String stringB = new String(charsB);
        assertThat(stringA).isNotEqualTo(stringB);
        assertThat(HASH_FN.hashUnencodedChars(stringA))
            .isNotEqualTo(HASH_FN.hashUnencodedChars(stringB));
        assertThat(fingerprint(stringA.getBytes(UTF_8)))
            .isNotEqualTo(fingerprint(stringB.getBytes(UTF_8)));
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Dec 29 14:55:25 GMT 2021
    - 7.6K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/TestStringQueueGenerator.java

        String[] array = new String[elements.length];
        int i = 0;
        for (Object e : elements) {
          array[i++] = (String) e;
        }
        return create(array);
      }
    
      protected abstract Queue<String> create(String[] elements);
    
      @Override
      public String[] createArray(int length) {
        return new String[length];
      }
    
      /** Returns the original element list, unchanged. */
      @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/TestStringListGenerator.java

        String[] array = new String[elements.length];
        int i = 0;
        for (Object e : elements) {
          array[i++] = (String) e;
        }
        return create(array);
      }
    
      /**
       * Creates a new collection containing the given elements; implement this method instead of {@link
       * #create(Object...)}.
       */
      protected abstract List<String> create(String[] elements);
    
      @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/escape/Escaper.java

       * </ul>
       *
       * @param string the literal string to be escaped
       * @return the escaped form of {@code string}
       * @throws NullPointerException if {@code string} is null
       * @throws IllegalArgumentException if {@code string} contains badly formed UTF-16 or cannot be
       *     escaped for any other reason
       */
      public abstract String escape(String string);
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Oct 01 16:02:17 GMT 2021
    - 4.6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/graph/AbstractGraphTest.java

      static final Integer NODE_NOT_IN_GRAPH = 1000;
    
      // TODO(user): Consider separating Strings that we've defined here to capture
      // identifiable substrings of expected error messages, from Strings that we've defined
      // here to provide error messages.
      // TODO(user): Some Strings used in the subclasses can be added as static Strings
      // here too.
      static final String ERROR_MODIFIABLE_SET = "Set returned is unexpectedly modifiable";
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 16.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/base/login/OpenIdConnectCredential.java

                return StringUtil.EMPTY_STRINGS;
            }
            return split(value, ",").get(stream -> stream.filter(StringUtil::isNotBlank).map(String::trim).toArray(n -> new String[n]));
        }
    
        public static class OpenIdUser implements FessUser {
    
            private static final long serialVersionUID = 1L;
    
            protected final String name;
    
            protected String[] groups;
    
            protected String[] roles;
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java

        @Override
        protected Set<String> create(String[] elements) {
          return ImmutableSet.copyOf(elements);
        }
      }
    
      public static class ImmutableSetUnsizedBuilderGenerator extends TestStringSetGenerator {
        @Override
        protected Set<String> create(String[] elements) {
          ImmutableSet.Builder<String> builder = ImmutableSet.builder();
          for (String e : elements) {
            builder.add(e);
          }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 15.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/MapsTest.java

            new EntryTransformer<String, String, String>() {
              @Override
              public String transformEntry(String key, String value) {
                return key + value;
              }
            };
        SortedMap<String, String> transformed = transformEntries(map, concat);
    
        /*
         * We'd like to sanity check that we didn't get a NavigableMap out, but we
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 67.2K bytes
    - Viewed (0)
Back to top