- Sort Score
- Result 10 results
- Languages All
Results 351 - 360 of 644 for Otherwise (0.07 sec)
-
guava/src/com/google/common/base/MoreObjects.java
* @since 18.0 (since 2.0 as {@code Objects}) */ @GwtCompatible public final class MoreObjects { /** * Returns the first of two given parameters that is not {@code null}, if either is, or otherwise * throws a {@link NullPointerException}. * * <p>To find the first non-null element in an iterable, use {@code Iterables.find(iterable,
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 16.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/FluentIterable.java
* already a {@code FluentIterable}. * * <p><b>{@code Stream} equivalent:</b> {@code iterable.stream()} if {@code iterable} is a {@link * Collection}; {@code StreamSupport.stream(iterable.spliterator(), false)} otherwise. */ public static <E extends @Nullable Object> FluentIterable<E> from(Iterable<E> iterable) { return (iterable instanceof FluentIterable) ? (FluentIterable<E>) iterable
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 35.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/FluentIterable.java
* already a {@code FluentIterable}. * * <p><b>{@code Stream} equivalent:</b> {@link Collection#stream} if {@code iterable} is a {@link * Collection}; {@link Streams#stream(Iterable)} otherwise. */ public static <E extends @Nullable Object> FluentIterable<E> from(Iterable<E> iterable) { return (iterable instanceof FluentIterable) ? (FluentIterable<E>) iterable
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 34.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbSession.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 20.7K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/TypeResolver.java
* Returns a resolver that resolves types "invariantly". * * <p>For example, when resolving {@code List<T>} in the context of {@code ArrayList<?>}, {@code * <T>} cannot be invariantly resolved to {@code <?>} because otherwise the parameter type of * {@code List::set} will be {@code <?>} and it'll falsely say any object can be passed into * {@code ArrayList<?>::set}. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Sep 03 14:03:14 UTC 2025 - 24.2K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java
* Returns an array containing all of the elements in this queue, in proper sequence; the runtime * type of the returned array is that of the specified array. If the queue fits in the specified * array, it is returned therein. Otherwise, a new array is allocated with the runtime type of the * specified array and the size of this queue. * * <p>If this queue fits in the specified array with room to spare (i.e., the array has more
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 22.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeConnection.java
if (log.isDebugEnabled()) { log.debug(String.format("Retrying (%d/%d) request %s", retries, maxRetries, request)); } // should we disconnect the transport here? otherwise we make an additional attempt to detect that if the // server closed the connection as a result log.debug("Disconnecting tree on send retry", last); disconnect(true);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 30.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/MoreCollectors.java
import java.util.Optional; import java.util.stream.Collector; import org.jspecify.annotations.Nullable; /** * Collectors not present in {@code java.util.stream.Collectors} that are not otherwise associated * with a {@code com.google.common} type. * * @author Louis Wasserman * @since 33.2.0 (available since 21.0 in guava-jre) */ @GwtCompatible
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Apr 14 16:07:06 UTC 2025 - 5.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Platform.java
return Arrays.copyOfRange(source, from, to, (Class<? extends T[]>) arrayOfType.getClass()); } /** * Configures the given map maker to use weak keys, if possible; does nothing otherwise (i.e., in * GWT). This is sometimes acceptable, when only server-side code could generate enough volume * that reclamation becomes important. */ @J2ktIncompatible
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 5.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/EnumMultisetTest.java
assertEquals(3, uniqueEntries.size()); } // Wrapper of EnumMultiset factory methods, because we need to skip create(Class). // create(Enum1.class) is equal to create(Enum2.class) but testEquals() expects otherwise. // For the same reason, we need to skip create(Iterable, Class). private static class EnumMultisetFactory { @Keep // used reflectively by testEquals
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6K bytes - Viewed (0)