- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 631 for that (0.12 sec)
-
android/guava/src/com/google/common/base/Stopwatch.java
* * log.info("time: " + stopwatch); // formatted string like "12.3 ms" * }</pre> * * <p>The state-changing methods are not idempotent; it is an error to start or stop a stopwatch * that is already in the desired state. * * <p>When testing code that uses this class, use {@link #createUnstarted(Ticker)} or {@link * #createStarted(Ticker)} to supply a fake or mock ticker. This allows you to simulate any valid * behavior of the stopwatch. *
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Nov 15 21:38:09 UTC 2022 - 8.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/NullsFirstOrdering.java
public boolean equals(@CheckForNull Object object) { if (object == this) { return true; } if (object instanceof NullsFirstOrdering) { NullsFirstOrdering<?> that = (NullsFirstOrdering<?>) object; return this.ordering.equals(that.ordering); } return false; } @Override public int hashCode() { return ordering.hashCode() ^ 957692532; // meaningless } @Override
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Mar 27 16:03:47 UTC 2023 - 2.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/NullsLastOrdering.java
public boolean equals(@CheckForNull Object object) { if (object == this) { return true; } if (object instanceof NullsLastOrdering) { NullsLastOrdering<?> that = (NullsLastOrdering<?>) object; return this.ordering.equals(that.ordering); } return false; } @Override public int hashCode() { return ordering.hashCode() ^ -921210296; // meaningless } @Override
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Mar 27 16:03:47 UTC 2023 - 2.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/NullsLastOrdering.java
public boolean equals(@CheckForNull Object object) { if (object == this) { return true; } if (object instanceof NullsLastOrdering) { NullsLastOrdering<?> that = (NullsLastOrdering<?>) object; return this.ordering.equals(that.ordering); } return false; } @Override public int hashCode() { return ordering.hashCode() ^ -921210296; // meaningless } @Override
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Mar 27 16:03:47 UTC 2023 - 2.7K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java
} }, // It really seems like this should be faster than TO_BYTE_ARRAY_NEW_STRING. But it just isn't // my best guess is that the jdk authors have spent more time optimizing that callpath than this // one. (StringCoding$StringDecoder vs. StreamDecoder). StringCoding has a ton of special cases // theoretically we could duplicate all that logic here to try to beat 'new String' or at least // come close.
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Oct 10 19:45:10 UTC 2022 - 5.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/IteratorTester.java
* using the latest values obtained from {@link IteratorTester#newTargetIterator()}. * * <p>The value you pass to the parameter {@code steps} should be greater than the length of your * iterator, so that this class can check that your iterator behaves correctly when it is exhausted. * * <p>For example, to test {@link java.util.Collections#unmodifiableList(java.util.List) * Collections.unmodifiableList}'s iterator: *
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 4.3K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/JdkBackedImmutableMap.java
* limitations under the License. */ package com.google.common.collect; import java.util.Map; /** * GWT emulation of {@link JdkBackedImmutableMap}. Never used, but must exist so that the client is * willing to deserialize maps that were this type on the server. */ @ElementTypesAreNonnullByDefault final class JdkBackedImmutableMap<K, V> extends ForwardingImmutableMap<K, V> {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jan 23 18:43:40 UTC 2024 - 1K bytes - Viewed (0) -
guava/src/com/google/common/collect/RegularContiguousSet.java
if (object == this) { return true; } else if (object instanceof RegularContiguousSet) { RegularContiguousSet<?> that = (RegularContiguousSet<?>) object; if (this.domain.equals(that.domain)) { return this.first().equals(that.first()) && this.last().equals(that.last()); } } return super.equals(object); } // copied to make sure not to use the GWT-emulated version
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 22 21:19:52 UTC 2024 - 8.4K bytes - Viewed (0) -
guava/src/com/google/common/annotations/VisibleForTesting.java
package com.google.common.annotations; /** * Annotates a program element that exists, or is more widely visible than otherwise necessary, only * for use in test code. * * <p><b>Do not use this interface</b> for public or protected declarations: it is a fig leaf for * bad design, and it does not prevent anyone from using the declaration---and experience has shown * that they will. If the method breaks the encapsulation of its class, then its internal
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Jan 30 22:25:16 UTC 2023 - 1.3K bytes - Viewed (0) -
guava/src/com/google/common/base/internal/Finalizer.java
/* * FinalizableReference's class loader was reclaimed. While there's a chance that other * finalizable references could be enqueued subsequently (at which point the class loader * would be resurrected by virtue of us having a strong reference to it), we should pretty * much just shut down and make sure we don't keep it alive any longer than necessary. */ return null; } try {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Aug 23 12:54:09 UTC 2023 - 9.4K bytes - Viewed (0)