- Sort Score
- Result 10 results
- Languages All
Results 511 - 520 of 727 for examples (0.03 sec)
-
android/guava-tests/test/com/google/common/reflect/SubtypeTester.java
* annotated by {@link TestSubtype}. * * <p>These declaration methods rely on Java static type checking to make sure what we want to * assert as subtypes are really subtypes according to javac. For example: * * {@snippet : * class MySubtypeTests extends SubtypeTester { * @TestSubtype(suppressGetSubtype = true, suppressGetSupertype = true) * public <T> Iterable<? extends T> listIsSubtypeOfIterable(List<T> list) {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Nov 25 23:29:58 UTC 2025 - 6.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/ForwardingSortedSet.java
* <a href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>. * * <p><b>Warning:</b> The methods of {@code ForwardingSortedSet} forward <i>indiscriminately</i> to * the methods of the delegate. For example, overriding {@link #add} alone <i>will not</i> change * the behavior of {@link #addAll}, which can lead to unexpected behavior. In this case, you should
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Feb 12 16:28:01 UTC 2025 - 5.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java
/** * Tester to ensure forwarding wrapper works by delegating calls to the corresponding method with * the same parameters forwarded and return value forwarded back or exception propagated as is. * * <p>For example: * * {@snippet : * new ForwardingWrapperTester().testForwarding(Foo.class, new Function<Foo, Foo>() { * public Foo apply(Foo foo) { * return new ForwardingFoo(foo); * } * }); * } *Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 9.1K bytes - Viewed (0) -
android/guava/src/com/google/common/net/MediaType.java
this.type = type; this.subtype = subtype; this.parameters = parameters; } /** Returns the top-level media type. For example, {@code "text"} in {@code "text/plain"}. */ public String type() { return type; } /** Returns the media subtype. For example, {@code "plain"} in {@code "text/plain"}. */ public String subtype() { return subtype; }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Oct 02 01:46:40 UTC 2025 - 48K bytes - Viewed (0) -
android/guava/src/com/google/common/io/Files.java
* Storage overview</a> to select an appropriate temporary directory (perhaps {@code * context.getCacheDir()}), and create your own directory under that. (For example, you might * use {@code new File(context.getCacheDir(), "directoryname").mkdir()}, or, if you need an * arbitrary number of temporary directories, you might have to generate multiple directory
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Sep 25 20:24:13 UTC 2025 - 32.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/TestStringListMultimapGenerator.java
*/ @GwtCompatible @NullMarked public abstract class TestStringListMultimapGenerator implements TestListMultimapGenerator<String, String> { @Override public SampleElements<Entry<String, String>> samples() { return new SampleElements<>( mapEntry("one", "January"), mapEntry("two", "February"), mapEntry("three", "March"), mapEntry("four", "April"), mapEntry("five", "May"));Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/TestStringSetMultimapGenerator.java
*/ @GwtCompatible @NullMarked public abstract class TestStringSetMultimapGenerator implements TestSetMultimapGenerator<String, String> { @Override public SampleElements<Entry<String, String>> samples() { return new SampleElements<>( mapEntry("one", "January"), mapEntry("two", "February"), mapEntry("three", "March"), mapEntry("four", "April"), mapEntry("five", "May"));Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 3K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/Striped.java
* itself is reclaimable. <i>Weak</i> means that locks/semaphores are created lazily, and they are * allowed to be reclaimed if nobody is holding on to them. This is useful, for example, if one * wants to create a {@code Striped<Lock>} of many locks, but worries that in most cases only a * small portion of these would be in use. *
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 16 22:01:32 UTC 2025 - 20.6K bytes - Viewed (0) -
gradlew
# Collect all arguments for the java command: # * DEFAULT_JVM_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments, # and any embedded shellness will be escaped. # * For example: A user cannot expect ${Hostname} to be expanded, as it is an environment variable and will be # treated as '${Hostname}' itself on the command line. set -- \ "-Dorg.gradle.appname=$APP_BASE_NAME" \Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Sep 18 20:55:41 UTC 2025 - 8.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/ForwardingNavigableSet.java
* href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>. * * <p><b>Warning:</b> The methods of {@code ForwardingNavigableSet} forward <i>indiscriminately</i> * to the methods of the delegate. For example, overriding {@link #add} alone <i>will not</i> change * the behavior of {@link #addAll}, which can lead to unexpected behavior. In this case, you should
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 8.8K bytes - Viewed (0)