- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 1,673 for Docstring (0.04 sec)
-
android/guava-tests/test/com/google/common/collect/AbstractImmutableBiMapMapInterfaceTest.java
assertEquals(entry.getKey() + "=" + entry.getValue(), entry.toString()); assertEquals(entry.getKey(), bimap.inverse().get(entry.getValue())); } assertEquals("{" + JOINER.join(map.entrySet()) + "}", map.toString()); assertEquals("[" + JOINER.join(map.entrySet()) + "]", map.entrySet().toString()); assertEquals("[" + JOINER.join(map.keySet()) + "]", map.keySet().toString());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/FilesTest.java
assertEquals(ASCII, Files.toString(asciiFile, US_ASCII)); assertEquals(I18N, Files.toString(i18nFile, UTF_8)); assertThat(Files.toString(i18nFile, US_ASCII)).isNotEqualTo(I18N); } public void testWriteString() throws IOException { File temp = createTempFile(); Files.write(I18N, temp, UTF_16LE); assertEquals(I18N, Files.toString(temp, UTF_16LE)); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 22.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultimapToStringTester.java
public void testToStringEmpty() { assertEquals("{}", multimap().toString()); } @CollectionSize.Require(ONE) @CollectionFeature.Require(absent = NON_STANDARD_TOSTRING) public void testToStringSingleton() { assertEquals("{" + k0() + "=[" + v0() + "]}", multimap().toString()); } @CollectionSize.Require(absent = ZERO) @CollectionFeature.Require(absent = NON_STANDARD_TOSTRING)
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 2.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/dtyp/ACETest.java
assertEquals("test ", sb.toString()); // Test with exact width string sb = new StringBuffer(); ace.appendCol(sb, "exact", 5); assertEquals("exact", sb.toString()); // Test with longer string than width sb = new StringBuffer(); ace.appendCol(sb, "longer string", 5); assertEquals("longer string", sb.toString()); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/net/HostAndPortTest.java
assertEquals(":102", HostAndPort.fromString(":102").toString()); assertEquals("[1::2]:103", HostAndPort.fromParts("1::2", 103).toString()); assertEquals("[::1]:104", HostAndPort.fromString("[::1]:104").toString()); // Without ports. assertEquals("foo", "" + HostAndPort.fromString("foo")); assertEquals("", HostAndPort.fromString("").toString());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 9.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/net/HostAndPortTest.java
assertEquals(":102", HostAndPort.fromString(":102").toString()); assertEquals("[1::2]:103", HostAndPort.fromParts("1::2", 103).toString()); assertEquals("[::1]:104", HostAndPort.fromString("[::1]:104").toString()); // Without ports. assertEquals("foo", "" + HostAndPort.fromString("foo")); assertEquals("", HostAndPort.fromString("").toString());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 9.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/query/TermRangeQueryCommand.java
queryBuf.append(lowerTerm != null ? "*".equals(Term.toString(lowerTerm)) ? "\\*" : Term.toString(lowerTerm) : "*"); queryBuf.append(" TO "); final BytesRef upperTerm = termRangeQuery.getUpperTerm(); queryBuf.append(upperTerm != null ? "*".equals(Term.toString(upperTerm)) ? "\\*" : Term.toString(upperTerm) : "*"); queryBuf.append(termRangeQuery.includesUpper() ? ']' : '}');
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 4.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionToStringTester.java
public void testToString_minimal() { assertNotNull("toString() should not return null", collection.toString()); } @CollectionSize.Require(ZERO) @CollectionFeature.Require(absent = NON_STANDARD_TOSTRING) public void testToString_size0() { assertEquals("emptyCollection.toString should return []", "[]", collection.toString()); } @CollectionSize.Require(ONE)
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 3.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java
} private static final Comparator<Object> TO_STRING = new Comparator<Object>() { @Override public int compare(Object o1, Object o2) { return o1.toString().compareTo(o2.toString()); } }; public void testSupertypeComparator() { SortedSet<Integer> set = new ImmutableSortedSet.Builder<Integer>(TO_STRING).add(3, 12, 101, 44).build();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 46.7K bytes - Viewed (0) -
guava/src/com/google/common/base/Functions.java
* @author Jared Levy * @since 2.0 */ @GwtCompatible public final class Functions { private Functions() {} /** * A function equivalent to the method reference {@code Object::toString}. The function simply * invokes {@code toString} on its argument and returns the result. It throws a {@link * NullPointerException} on null input. * * <p><b>Warning:</b> The returned function may not be <i>consistent with equals</i> (as
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 17:32:30 UTC 2025 - 15.4K bytes - Viewed (0)