- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 97 for Inference (0.49 sec)
-
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/SingletonImmutableSet.java
*/ @ElementTypesAreNonnullByDefault final class SingletonImmutableSet<E> extends ImmutableSet<E> { // This reference is used both by the custom field serializer, and by the // GWT compiler to infer the elements of the lists that needs to be // serialized. // // Although this reference is non-final, it doesn't change after set creation. E element; SingletonImmutableSet(E element) {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Jan 23 18:43:40 GMT 2024 - 1.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ObjectArrays.java
} /** * Returns a new array of the given length with the same type as a reference array. * * @param reference any array of the desired type * @param length the length of the new array */ public static <T extends @Nullable Object> T[] newArray(T[] reference, int length) { return Platform.newArray(reference, length); } /**
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Jun 12 15:59:22 GMT 2023 - 9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Interners.java
/** Returns a fresh {@link InternerBuilder} instance. */ public static InternerBuilder newBuilder() { return new InternerBuilder(); } /** * Returns a new thread-safe interner which retains a strong reference to each instance it has * interned, thus preventing these instances from being garbage-collected. If this retention is * acceptable, this implementation may perform better than {@link #newWeakInterner}. */
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Mar 13 14:30:51 GMT 2023 - 5.9K bytes - Viewed (0) -
build-logic/documentation/src/test/resources/org/gradle/test/JavaClassWithMethods.java
String stringMethod(String stringParam) { return "value"; } /** * A method that returns void. */ void voidMethod() { } /** * A method that returns a reference type. */ CombinedInterface refTypeMethod(JavaInterface refParam, boolean aFlag) { return null; } /** * A method that returns an array */
Java - Registered: Wed Apr 10 11:36:10 GMT 2024 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 717 bytes - Viewed (0) -
android/guava/src/com/google/common/annotations/GwtIncompatible.java
public @interface GwtIncompatible { /** * Describes why the annotated element is incompatible with GWT. Since this is generally due to a * dependence on a type/method which GWT doesn't support, it is sufficient to simply reference the * unsupported type/method. E.g. "Class.isInstance". * * <p>As of Guava 20.0, this value is optional. We encourage authors who wish to describe why an
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Dec 16 19:54:45 GMT 2020 - 1.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/MapCacheTest.java
assertThat(fooReference1).isNotSameInstanceAs(fooReference2); assertThat(mapCache.put(fooReference1, "bar")).isNull(); assertThat(mapCache.get(fooReference1)).isEqualTo("bar"); // ensure first reference is cached assertThat(mapCache.remove(fooReference2)).isEqualTo("bar"); assertThat(mapCache.get(fooReference1)).isNull(); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 26 16:23:26 GMT 2021 - 3.2K bytes - Viewed (0) -
android/guava/src/com/google/common/html/HtmlEscapers.java
* escapes only the following five ASCII characters: {@code '"&<>}. */ public static Escaper htmlEscaper() { return HTML_ESCAPER; } // For each xxxEscaper() method, please add links to external reference pages // that are considered authoritative for the behavior of that escaper. private static final Escaper HTML_ESCAPER = Escapers.builder() .addEscape('"', """)
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Apr 14 22:08:54 GMT 2021 - 3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/IteratorTester.java
import java.util.Iterator; import org.checkerframework.checker.nullness.qual.Nullable; /** * A utility for testing an Iterator implementation by comparing its behavior to that of a "known * good" reference implementation. In order to accomplish this, it's important to test a great * variety of sequences of the {@link Iterator#next}, {@link Iterator#hasNext} and {@link
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 4.3K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycles.java
import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** * @since 3.0 */ // TODO The configuration for the lifecycle needs to be externalized so that I can use the annotations properly for the // wiring and reference and external source for the lifecycle configuration. @Named @Singleton public class DefaultLifecycles { public static final String[] STANDARD_LIFECYCLES = {"clean", "default", "site", "wrapper"};
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 6K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java
return HASH_FN.hashBytes(bytes, 0, length).asLong(); } /** * Tests that the Java port of FarmHashFingerprint64 provides the same results on buffers up to * 800 bytes long as the C++ reference implementation. */ public void testMultipleLengths() { int iterations = 800; byte[] buf = new byte[iterations * 4]; int bufLen = 0; long h = 0; for (int i = 0; i < iterations; ++i) {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Jul 19 14:00:24 GMT 2016 - 6.2K bytes - Viewed (0)