- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 1,740 for string (0.13 seconds)
-
android/guava/src/com/google/common/base/Strings.java
public static String nullToEmpty(@Nullable String string) { return Platform.nullToEmpty(string); } /** * Returns the given string if it is nonempty; {@code null} otherwise. * * @param string the string to test and possibly return * @return {@code string} itself if it is nonempty; {@code null} if it is empty or null */ public static @Nullable String emptyToNull(@Nullable String string) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 12.2K bytes - Click Count (0) -
guava/src/com/google/common/base/Strings.java
public static String nullToEmpty(@Nullable String string) { return Platform.nullToEmpty(string); } /** * Returns the given string if it is nonempty; {@code null} otherwise. * * @param string the string to test and possibly return * @return {@code string} itself if it is nonempty; {@code null} if it is empty or null */ public static @Nullable String emptyToNull(@Nullable String string) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 12.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java
String[] strings = NUMBER_NAMES.toArray(new String[0]); ImmutableSortedSet<String> set = ImmutableSortedSet.copyOf(strings); sort(strings); for (int i = 0; i < strings.length; i++) { assertThat(set.tailSet(strings[i], true)) .containsExactlyElementsIn(sortedNumberNames(i, strings.length)) .inOrder(); } } public void testTailSetExclusive() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 46.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/MapsTest.java
Map<String, Integer> map = ImmutableMap.of("a", 4, "b", 9); Map<String, Double> transformed = transformValues(map, SQRT_FUNCTION); assertEquals(ImmutableMap.of("a", 2.0, "b", 3.0), transformed); } public void testTransformEntries() { Map<String, String> map = ImmutableMap.of("a", "4", "b", "9"); EntryTransformer<String, String, String> concat = new EntryTransformer<String, String, String>() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 63.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/MarkdownRendererTest.java
public void test_render_plainText() { String result = markdownRenderer.render("Hello World"); assertTrue(result.contains("Hello World")); assertTrue(result.contains("<p>")); } @Test public void test_render_bold() { String result = markdownRenderer.render("**bold text**"); assertTrue(result.contains("<strong>bold text</strong>")); } @Test
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 11.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/PopularWordHelperTest.java
} @Test public void test_getCacheKey_emptyArrays() { String seed = "test_seed"; String[] tags = new String[0]; String[] roles = new String[0]; String[] fields = new String[0]; String[] excludes = new String[0]; String result = popularWordHelper.getCacheKey(seed, tags, roles, fields, excludes); assertNotNull(result);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 11.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/crawler/transformer/FessTransformer.java
*/ default void putResultDataWithTemplate(final Map<String, Object> dataMap, final String key, final Object value, final String template, final String scriptType) { Object target = value; if (template != null) { final Map<String, Object> contextMap = new HashMap<>(); contextMap.put("doc", dataMap); final Map<String, Object> paramMap = new HashMap<>(dataMap.size() + 2);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Dec 11 09:47:03 GMT 2025 - 14.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/general/EditForm.java
@Size(max = 10) public String searchFileProxy; /** Enable or disable using browser locale for search. */ @Size(max = 10) public String searchUseBrowserLocale; /** SSO type (none, oic, saml, spnego, entraid). */ @Size(max = 100) public String ssoType; /** User agent string for crawling operations. */ @Size(max = 1000) public String crawlingUserAgent;Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 02:24:08 GMT 2026 - 15.8K bytes - Click Count (0) -
guava/src/com/google/common/base/CaseFormat.java
} @Override public String toString() { return sourceFormat + ".converterTo(" + targetFormat + ")"; } @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0L; } abstract String normalizeWord(String word); String normalizeFirstWord(String word) { return normalizeWord(word); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Dec 03 18:46:33 GMT 2025 - 6.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParserEdgeCaseTest.java
public void test_parseSearchWords_withPartialReadings() throws Exception { String[] words = new String[] { "word1", "word2", "word3" }; // Only provide readings for first word String[][] readings = new String[][] { new String[] { "reading1" } }; String[] fields = new String[] { "content" }; SuggestItem item =
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sat Mar 14 02:35:38 GMT 2026 - 20.3K bytes - Click Count (0)