- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 1,062 for toString (0.04 seconds)
-
guava/src/com/google/common/base/Predicates.java
} @Override public String toString() { return "Predicates.alwaysTrue()"; } }, /** * @see Predicates#alwaysFalse() */ ALWAYS_FALSE { @Override public boolean apply(@Nullable Object o) { return false; } @Override public String toString() { return "Predicates.alwaysFalse()"; }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 26.6K bytes - Click Count (0) -
samples/slack/src/main/java/okhttp3/slack/SlackApi.java
HttpUrl.Builder builder = baseUrl.newBuilder("/oauth/authorize") .addQueryParameter("client_id", clientId) .addQueryParameter("scope", scopes) .addQueryParameter("redirect_uri", redirectUrl.toString()) .addQueryParameter("state", state.base64()); if (team != null) { builder.addQueryParameter("team", team); } return builder.build(); }
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Jul 06 19:30:55 GMT 2018 - 4.4K bytes - Click Count (0) -
compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/VersionRangeTest.java
assertTrue(restriction.isLowerBoundInclusive(), CHECK_LOWER_BOUND_INCLUSIVE); assertEquals("1.4", restriction.getUpperBound().toString(), CHECK_UPPER_BOUND); assertTrue(restriction.isUpperBoundInclusive(), CHECK_UPPER_BOUND_INCLUSIVE); restriction = restrictions.get(2); assertEquals("1.5", restriction.getLowerBound().toString(), CHECK_LOWER_BOUND);
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sun Mar 30 23:08:36 GMT 2025 - 44.1K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/classrealm/ArtifactClassRealmConstituent.java
return artifact.getBaseVersion(); } @Override public File getFile() { return artifact.getFile(); } @Override public String toString() { return artifact.toString(); }
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 1.7K bytes - Click Count (0) -
compat/maven-model/src/test/java/org/apache/maven/model/OrganizationTest.java
assertNotNull(new Organization().toString()); } @Test public void testToStringNotNonsense11() { Organization org = new Organization(); org.setName("Testing Maven Unit"); org.setUrl("https://maven.localdomain"); assertEquals("Organization {name=Testing Maven Unit, url=https://maven.localdomain}", org.toString()); } @Test
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 2.7K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelProblemUtils.java
buffer.append(toId(model)); File pomFile = model.getPomFile(); if (pomFile != null) { buffer.append(" (").append(pomFile).append(')'); } return buffer.toString(); } static String toPath(Model model) { String path = ""; if (model != null) { File pomFile = model.getPomFile(); if (pomFile != null) {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jul 23 17:27:08 GMT 2025 - 4.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/ToStringHelperTest.java
assertEquals(expected, helper.toString()); // Call toString again assertEquals(expected, helper.toString()); // Make sure the cached value is reset when we modify the helper at all String expected2 = "TestClass{field1=1, value1, field2=value2, 2}"; helper.addValue(2); assertEquals(expected2, helper.toString()); } @GwtIncompatible // Class names are obfuscated in GWTCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 21.4K bytes - Click Count (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)); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 18:44:53 GMT 2025 - 22.1K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/AddressTest.kt
} @Test fun addressToString() { val address = factory.newAddress() assertThat(address.toString()) .isEqualTo("Address{example.com:80, proxySelector=RecordingProxySelector}") } @Test fun addressWithProxyToString() { val address = factory.newAddress(proxy = Proxy.NO_PROXY) assertThat(address.toString()) .isEqualTo("Address{example.com:80, proxy=${Proxy.NO_PROXY}}") }
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 1.8K bytes - Click Count (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> (asCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Aug 06 17:32:30 GMT 2025 - 15.4K bytes - Click Count (0)