- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 777 for that (0.03 sec)
-
android/guava-tests/test/com/google/common/net/PercentEscaperTest.java
} } } /** Tests that if specify '%' as safe the result is an idempotent escaper. */ public void testCustomEscaper_withpercent() { UnicodeEscaper e = new PercentEscaper("%", false); assertEquals("foo%7Cbar", e.escape("foo|bar")); assertEquals("foo%7Cbar", e.escape("foo%7Cbar")); // idempotent } /** Test that giving a null 'safeChars' string causes a {@link NullPointerException}. */
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Oct 10 19:45:10 UTC 2022 - 5.2K bytes - Viewed (0) -
guava/src/com/google/common/escape/Escaper.java
* UnicodeEscaper}. They are heavily optimized for performance and greatly simplify the task of * implementing new escapers. It is strongly recommended that when implementing a new escaper you * extend one of these classes. If you find that you are unable to achieve the desired behavior * using either of these classes, please contact the Java libraries team for advice. *
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Oct 01 16:02:17 UTC 2021 - 4.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractChainedListenableFutureTest.java
import java.util.concurrent.TimeUnit; import java.util.concurrent.TimeoutException; import junit.framework.TestCase; /** * Unit tests for any listenable future that chains other listenable futures. Unit tests need only * override buildChainingFuture and getSuccessfulResult, but they can add custom tests as needed. * * @author Nishant Thakkar */
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 3.4K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/Parameter.java
A[] cast = (A[]) result; return cast; } @Override public boolean equals(@CheckForNull Object obj) { if (obj instanceof Parameter) { Parameter that = (Parameter) obj; return position == that.position && declaration.equals(that.declaration); } return false; } @Override public int hashCode() { return position; } @Override
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Nov 16 15:12:31 UTC 2023 - 4.3K bytes - Viewed (0) -
guava/src/com/google/common/io/FileBackedOutputStream.java
import javax.annotation.CheckForNull; /** * An {@link OutputStream} that starts buffering to a byte array, but switches to file buffering * once the data reaches a configurable size. * * <p>When this stream creates a temporary file, it restricts the file's permissions to the current * user or, in the case of Android, the current app. If that is not possible (as is the case under
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 22 17:40:56 UTC 2024 - 8.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestContainerGenerator.java
import java.util.List; import java.util.Map; import org.checkerframework.checker.nullness.qual.Nullable; /** * To be implemented by test generators of things that can contain elements. Such things include * both {@link Collection} and {@link Map}; since there isn't an established collective noun that * encompasses both of these, 'container' is used. * * @author George van den Driessche */ @GwtCompatible @ElementTypesAreNonnullByDefault
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 2.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ComparisonChain.java
/** * A utility for performing a chained comparison statement. For example: * * <pre>{@code * public int compareTo(Foo that) { * return ComparisonChain.start() * .compare(this.aString, that.aString) * .compare(this.anInt, that.anInt) * .compare(this.anEnum, that.anEnum, Ordering.natural().nullsLast()) * .result(); * } * }</pre> *
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Jan 24 17:47:51 UTC 2022 - 9.3K bytes - Viewed (0) -
guava/src/com/google/common/hash/Hasher.java
* compatibility (otherwise prefer {@link #putUnencodedChars}). However, the character encodings * must be identical across languages. Also beware that {@link Charset} definitions may occasionally * change between Java releases. * * <p><b>Warning:</b> Chunks of data that are put into the {@link Hasher} are not delimited. The * resulting {@link HashCode} is dependent only on the bytes inserted, and the order in which they
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Jun 15 20:59:00 UTC 2022 - 5.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ForwardingMapEntry.java
* * @since 7.0 */ protected boolean standardEquals(@CheckForNull Object object) { if (object instanceof Entry) { Entry<?, ?> that = (Entry<?, ?>) object; return Objects.equal(this.getKey(), that.getKey()) && Objects.equal(this.getValue(), that.getValue()); } return false; } /** * A sensible definition of {@link #hashCode()} in terms of {@link #getKey()} and {@link
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Mar 19 19:28:11 UTC 2024 - 4.4K bytes - Viewed (0) -
guava/src/com/google/common/io/InsecureRecursiveDeleteException.java
import java.nio.file.SecureDirectoryStream; import javax.annotation.CheckForNull; /** * Exception indicating that a recursive delete can't be performed because the file system does not * have the support necessary to guarantee that it is not vulnerable to race conditions that would * allow it to delete files and directories outside of the directory being deleted (i.e., {@link * SecureDirectoryStream} is not supported). *
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed May 17 14:35:11 UTC 2023 - 1.7K bytes - Viewed (0)