Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 981 - 990 of 7,132 for String (0.06 seconds)

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

       * @param replacement the character to append to the result string in place of each matching
       *     character in {@code sequence}
       * @return the new string
       */
      public String replaceFrom(CharSequence sequence, char replacement) {
        String string = sequence.toString();
        int pos = indexIn(string);
        if (pos == -1) {
          return string;
        }
        char[] chars = string.toCharArray();
        chars[pos] = replacement;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 54.4K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/helper/RelatedContentHelperTest.java

            results = relatedContentHelper.getRelatedContents("test");
            assertEquals("Updated Content", results[0]);
        }
    
        // Helper methods
    
        private RelatedContent createRelatedContent(String term, String content, String virtualHost) {
            RelatedContent entity = new RelatedContent();
            entity.setTerm(term);
            entity.setContent(content);
            entity.setVirtualHost(virtualHost);
            return entity;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 14.6K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/core/beans/util/CopyOptionsUtil.java

         * @param propertyNames
         *            An array of property names. Each element must not be {@literal null} or an empty string.
         * @return A {@link CopyOptions} with a date converter applied.
         * @see CopyOptions#dateConverter(String, CharSequence...)
         * @see DateConverter
         */
        public static CopyOptions dateConverter(final String pattern, final CharSequence... propertyNames) {
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 10.6K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb1/Config.java

         * Retrieve a <code>String</code>. If the key cannot be found,
         * the provided <code>def</code> default parameter will be returned.
         *
         * @param key the property key to look up
         * @param def the default value to return if the property is not found
         * @return the property value, or the default value if not found
         */
    
        public static String getProperty(final String key, final String def) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 14.5K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/Constants.java

        public static final String MAPPING_TYPE_ARRAY = "array";
    
        /** Mapping type for string fields. */
        public static final String MAPPING_TYPE_STRING = "string";
    
        /** Mapping type for long fields. */
        public static final String MAPPING_TYPE_LONG = "long";
    
        /** Mapping type for double fields. */
        public static final String MAPPING_TYPE_DOUBLE = "double";
    
        /** Mapping type for date fields. */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:55:54 GMT 2026
    - 35.8K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/helper/PermissionHelperTest.java

        public void test_encode_withLongValues() {
            String longUser = "user" + "x".repeat(1000);
            String longGroup = "group" + "y".repeat(1000);
            String longRole = "role" + "z".repeat(1000);
    
            String encodedUser = permissionHelper.encode("{user}" + longUser);
            String encodedGroup = permissionHelper.encode("{group}" + longGroup);
            String encodedRole = permissionHelper.encode("{role}" + longRole);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 14K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/io/CharSinkTest.java

        assertFalse(sink.wasStreamClosed());
    
        writer.write(STRING);
        writer.close();
    
        assertTrue(sink.wasStreamClosed());
        assertThat(sink.getString()).isEqualTo(STRING);
      }
    
      public void testWrite_string() throws IOException {
        assertThat(sink.getString()).isEqualTo("");
        sink.write(STRING);
    
        assertTrue(sink.wasStreamOpened() && sink.wasStreamClosed());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 4.7K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/primitives/Ints.java

       * and returns {@code null} if non-ASCII digits are present in the string.
       *
       * <p>Note that strings prefixed with ASCII {@code '+'} are rejected, even though {@link
       * Integer#parseInt(String)} accepts them.
       *
       * @param string the string representation of an integer value
       * @return the integer value represented by {@code string}, or {@code null} if {@code string} has
       *     a length of zero or cannot be parsed as an integer value
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:45:58 GMT 2026
    - 31.3K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/io/CharSinkTester.java

      }
    
      static TestSuite suiteForString(
          String name, CharSinkFactory factory, String string, String desc) {
        TestSuite stringSuite = new TestSuite(name + " [" + desc + "]");
        for (Method method : testMethods) {
          stringSuite.addTest(new CharSinkTester(factory, string, name, desc, method));
        }
        return stringSuite;
      }
    
      private final ImmutableList<String> lines;
      private final ImmutableList<String> expectedLines;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 4.5K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/dict/stopwords/StopwordsItem.java

        }
    
        @Override
        public String toString() {
            return "StopwordsItem [id=" + id + ", inputs=" + input + ", newInputs=" + newInput + "]";
        }
    
        /**
         * Converts the item to a string representation for writing to a file.
         *
         * @return The stopword as a string.
         */
        public String toLineString() {
            if (isUpdated()) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 07:09:00 GMT 2025
    - 3.5K bytes
    - Click Count (0)
Back to Top