- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 844 for Because (0.04 sec)
-
android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java
setDefault(Double.class, 1D); setDefault(Class.class, Class.class); } /** * Sets the default value for {@code type}. The default value isn't used in testing {@link * Object#equals} because more than one sample instances are needed for testing inequality. To set * distinct values for equality testing, use {@link #setDistinctValues} instead. */ @CanIgnoreReturnValue
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 32.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/convert/BinaryConversionUtilTest.java
* . */ @Test public void testToBinaryException() { exception.expect(ClIllegalArgumentException.class); exception.expectMessage(is("[ECL0009]argument[o] is illegal. because class java.lang.Object.")); BinaryConversionUtil.toBinary(new Object()); }Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 2K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/InvalidatableSet.java
// via delegate()); it seems inappropriate to throw ISE on this method. @Override public int hashCode() { return delegate.hashCode(); } private void validate() { // Don't use checkState(), because we don't want the overhead of generating the error message // unless it's actually going to be used; validate() is called for all set method calls, so it // needs to be fast.
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Jan 30 16:59:10 UTC 2025 - 1.8K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/Lockable.kt
import okhttp3.internal.assertionsEnabled /** * Marker interface for objects that use the JVM's `synchronized` mechanism and the related * `wait()` and `notify()` functions. * * The Lockable interface is particularly handy because it ensures we lock the right `this` when * there are multiple `this` objects in scope. */ interface Lockable internal inline fun Lockable.wait() = (this as Object).wait()
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed May 28 23:28:25 UTC 2025 - 2.1K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/Partially.java
* {@code GwtIncompatible}. This is more accurate for {@link Futures#catching}, which is available * under GWT but with a slightly different signature. * * <p>We can't use {@code PartiallyGwtIncompatible} because then the GWT compiler wouldn't recognize * it as a {@code GwtIncompatible} annotation. And for {@code Futures.catching}, we need the GWT * compiler to autostrip the normal server method in order to expose the special, inherited GWTRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 1.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/CompactHashing.java
/** Maximum size of a compact hash-based collection (2^30 - 1 because 0 is UNSET). */ static final int MAX_SIZE = Ints.MAX_POWER_OF_TWO - 1; /** Default size of a compact hash-based collection. */ static final int DEFAULT_SIZE = 3; /** * Minimum size of the hash table of a compact hash-based collection. Because small hash tables
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 7K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AbstractScheduledService.java
@WeakOuter private final class ServiceDelegate extends AbstractService { // A handle to the running task so that we can stop it when a shutdown has been requested. // These two fields are volatile because their values will be accessed from multiple threads. private volatile @Nullable Cancellable runningTask; private volatile @Nullable ScheduledExecutorService executorService;Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 27.7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/UnhashableObject.java
return this.value == that.value; } return false; } @Override public int hashCode() { throw new UnsupportedOperationException(); } // needed because otherwise Object.toString() calls hashCode() @Override public String toString() { return "DontHashMe" + value; } @Override public int compareTo(UnhashableObject o) {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Apr 10 20:12:40 UTC 2025 - 1.6K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/InterruptibleTask.java
if (isDone()) { return; } try { result = runInterruptibly(); } catch (Throwable t) { error = t; } if (error == null) { // The cast is safe because of the `run` and `error` checks. afterRanInterruptiblySuccess(uncheckedCastNullableTToT(result)); } else { afterRanInterruptiblyFailure(error); } } abstract boolean isDone();
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 1.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/ContiguousSet.java
/** * A sorted set of contiguous values in a given {@link DiscreteDomain}. Example: * * {@snippet : * ContiguousSet.create(Range.closed(5, 42), DiscreteDomain.integers()) * } * * <p>Note that because bounded ranges over {@code int} and {@code long} values are so common, this * particular example can be written as just: * * {@snippet : * ContiguousSet.closed(5, 42) * } *Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 9.9K bytes - Viewed (0)