- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 342 for Caller (0.16 sec)
-
android/guava/src/com/google/common/collect/ImmutableSetMultimap.java
Serialization.getFieldSetter(ImmutableSetMultimap.class, "emptySet"); } @GwtIncompatible // java.io.ObjectInputStream @J2ktIncompatible // Serialization type safety is at the caller's mercy. @SuppressWarnings("unchecked") private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException { stream.defaultReadObject();
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed May 01 18:44:57 GMT 2024 - 23.6K bytes - Viewed (0) -
guava/src/com/google/common/base/Optional.java
* Optional.orElseGet}, except when {@code supplier} returns {@code null}. In this case this * method throws an exception, whereas the Java 8+ method returns the {@code null} to the caller. * * @throws NullPointerException if this optional's value is absent and the supplier returns {@code * null} */ public abstract T or(Supplier<? extends T> supplier); /**
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 14.6K bytes - Viewed (0) -
guava/src/com/google/common/base/Verify.java
* which approach to use, <b>don't worry</b> too much about it; just pick something that seems * reasonable and it will be fine. * * <ul> * <li>If checking whether the <i>caller</i> has violated your method or constructor's contract * (such as by passing an invalid argument), use the utilities of the {@link Preconditions} * class instead.
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon May 17 14:07:47 GMT 2021 - 18.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/EnumBiMap.java
* themselves their proper values under GWT, since GWT's EnumMap does need the Class instance. * * Note that sometimes these fields *do* have correct values under J2CL: They will if the caller * calls `create(Foo.class)`, rather than `create(map)`. That's fine; we just shouldn't rely on * it. */ transient Class<K> keyTypeOrObjectUnderJ2cl; transient Class<V> valueTypeOrObjectUnderJ2cl; /**
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Aug 24 01:40:03 GMT 2023 - 6.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/CompactHashing.java
* then we should have {@code 0 ≤ entry ≤ 255}, and if {@code table} is a {@code short[]} then we * should have {@code 0 ≤ entry ≤ 65535}. It is the caller's responsibility to ensure this. */ static void tableSet(Object table, int index, int entry) { if (table instanceof byte[]) { ((byte[]) table)[index] = (byte) entry; // unsigned write
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Aug 02 21:41:22 GMT 2021 - 7.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/CompactHashing.java
* then we should have {@code 0 ≤ entry ≤ 255}, and if {@code table} is a {@code short[]} then we * should have {@code 0 ≤ entry ≤ 65535}. It is the caller's responsibility to ensure this. */ static void tableSet(Object table, int index, int entry) { if (table instanceof byte[]) { ((byte[]) table)[index] = (byte) entry; // unsigned write
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Aug 02 21:41:22 GMT 2021 - 7.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/MutableClassToInstanceMap.java
return new MutableClassToInstanceMap<>(new HashMap<Class<? extends @NonNull B>, B>()); } /** * Returns a new {@code MutableClassToInstanceMap} instance backed by a given empty {@code * backingMap}. The caller surrenders control of the backing map, and thus should not allow any * direct references to it to remain accessible. */ public static <B extends @Nullable Object> MutableClassToInstanceMap<B> create(
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 6.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedTest.java
} /** * Loads {@link WillBeUnloadedException} in a separate {@code ClassLoader}, calls {@code * getChecked(future, WillBeUnloadedException.class)}, and returns the loader. The caller can then * test that the {@code ClassLoader} can still be GCed. The test amounts to a test that {@code * getChecked} holds no strong references to the class. */
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 16.4K bytes - Viewed (0) -
android/guava/src/com/google/common/io/CharSink.java
* * <p>{@code CharSink} provides two kinds of methods: * * <ul> * <li><b>Methods that return a writer:</b> These methods should return a <i>new</i>, independent * instance each time they are called. The caller is responsible for ensuring that the * returned writer is closed. * <li><b>Convenience methods:</b> These are implementations of common operations that are
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Feb 28 20:13:02 GMT 2023 - 6.1K bytes - Viewed (0) -
android/guava/src/com/google/common/net/HostAndPort.java
* </ul> * * <p>Note that this is not an exhaustive list, because these methods are only concerned with * brackets, colons, and port numbers. Full validation of the host field (if desired) is the * caller's responsibility. * * @author Paul Marks * @since 10.0 */ @Immutable @GwtCompatible @ElementTypesAreNonnullByDefault public final class HostAndPort implements Serializable {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Aug 22 20:55:57 GMT 2023 - 11.3K bytes - Viewed (0)