- Sort Score
- Num 10 results
- Language All
Results 101 - 110 of 7,132 for String (0.09 seconds)
-
guava/src/com/google/common/base/Platform.java
*/ static String nullToEmpty(@Nullable String string) { return (string == null) ? "" : string; } /** * Returns the string if it is not empty, or a null string otherwise. * * @param string the string to test and possibly return * @return {@code string} if it is not empty; {@code null} otherwise */ static @Nullable String emptyToNull(@Nullable String string) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Dec 29 17:36:00 GMT 2025 - 3.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/MultisetsCollectionTest.java
@Override protected Multiset<String> create(String[] elements) { return unmodifiableMultiset(LinkedHashMultiset.create(asList(elements))); } @Override public List<String> order(List<String> insertionOrder) { List<String> order = new ArrayList<>(); for (String s : insertionOrder) { int index = order.indexOf(s);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 9.7K bytes - Click Count (0) -
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/KotlinNullabilityChangesTest.kt
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Tue Feb 04 09:55:47 GMT 2025 - 5K bytes - Click Count (0) -
guava-tests/test/com/google/common/reflect/InvokableTest.java
public void testStaticMethod_returning() throws Exception { Invokable<?, Iterable<String>> delegate = Prepender.method("prepend", String.class, Iterable.class) .returning(new TypeToken<Iterable<String>>() {}); assertEquals(new TypeToken<Iterable<String>>() {}, delegate.getReturnType()); Iterable<String> result = delegate.invoke(null, "a", ImmutableList.of("b", "c"));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 31.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/dict/mapping/CharMappingItem.java
*/ public String[] getInputs() { return inputs == null ? null : inputs.clone(); } /** * Returns all input sequences joined with newline characters as a single string. * This is useful for display purposes in forms and user interfaces. * * @return string representation of all inputs separated by newlines, or empty string if inputs is null */Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 20 07:09:00 GMT 2025 - 7.9K bytes - Click Count (0) -
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt
fun addedWithInvalidSince(thing: String, desc: String): List<String> = listOf( "$thing ${describe(thing, desc)}: Is not annotated with @Incubating.", "$thing ${describe(thing, desc)}: Has invalid @since: it should be 2.0, but currently is 1.0." ) fun removed(thing: String, desc: String): Pair<String, List<String>> =
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon Jan 19 11:30:48 GMT 2026 - 18.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/entity/SearchRequestParamsTest.java
String query = ""; Map<String, String[]> fields = new HashMap<>(); Map<String, String[]> conditions = new HashMap<>(); String[] languages = new String[0]; GeoInfo geoInfo = null; FacetInfo facetInfo = null; HighlightInfo highlightInfo = null; String sort = ""; int startPosition = 0; int pageSize = 10;Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 26.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/entity/DataStoreParams.java
* @param defaultValue the default value to return if key is not found or value is null * @return the parameter value as a String, or defaultValue if not found */ public String getAsString(final String key, final String defaultValue) { final String value = getAsString(key); if (value != null) { return value; } return defaultValue; } /**Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 5.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/SynchronizedNavigableMapTest.java
protected SortedMap<String, String> create(Entry<String, String>[] entries) { NavigableMap<String, String> innermost = new SafeTreeMap<>(); for (Entry<String, String> entry : entries) { innermost.put(entry.getKey(), entry.getValue()); } TestMap<String, String> inner = new TestMap<>(innermost, mutex);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 12.8K bytes - Click Count (0) -
android/guava/src/com/google/common/base/CaseFormat.java
@Override String normalizeWord(String word) { return firstCharOnlyToUpper(word); } @Override String normalizeFirstWord(String word) { return Ascii.toLowerCase(word); } }, /** Java and C++ class naming convention, e.g., "UpperCamel". */ UPPER_CAMEL(CharMatcher.inRange('A', 'Z'), "") { @Override String normalizeWord(String 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)