- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 58 for Draw (0.13 sec)
-
android/guava/src/com/google/common/collect/ImmutableSortedMap.java
boolean sameComparator, Iterable<? extends Entry<? extends K, ? extends V>> entries) { // "adding" type params to an array of a raw type should be safe as // long as no one can ever cast that same array instance back to a // raw type. @SuppressWarnings("unchecked") Entry<K, V>[] entryArray = (Entry[]) Iterables.toArray(entries, EMPTY_ENTRY_ARRAY);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed May 01 18:44:57 GMT 2024 - 53.2K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/Monitor.java
* @since 10.0 */ @J2ktIncompatible @GwtIncompatible @SuppressWarnings("GuardedBy") // TODO(b/35466881): Fix or suppress. @ElementTypesAreNonnullByDefault public final class Monitor { // TODO(user): Use raw LockSupport or AbstractQueuedSynchronizer instead of ReentrantLock. // TODO(user): "Port" jsr166 tests for ReentrantLock. // // TODO(user): Change API to make it impossible to use a Guard with the "wrong" monitor,
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Dec 04 18:22:01 GMT 2023 - 38.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/SubtypeTester.java
} catch (IllegalArgumentException notSubtype1) { // The raw class isn't even a subclass. } } if (!spec.suppressGetSupertype()) { try { assertThat(getSupertype(paramType, TypeToken.of(returnType).getRawType())) .isNotEqualTo(returnType); } catch (IllegalArgumentException notSubtype2) { // The raw class isn't even a subclass. } } return null;
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed Apr 19 19:24:36 GMT 2023 - 6.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ComparisonChain.java
* we wanted to support legacy classes that implement the raw type {@code Comparable} (instead of * implementing {@code Comparable<Foo>}) without producing warnings. If so, we would prefer today * to produce warnings in that case, and we may change this method to do so in the future. Support * for raw {@code Comparable} types in Guava in general is tracked as <a
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Jan 24 17:47:51 GMT 2022 - 9.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/ForwardingLoadingCacheTest.java
private LoadingCache<String, Boolean> mock; @SuppressWarnings({"unchecked", "DoNotMock"}) // mock @Override public void setUp() throws Exception { super.setUp(); /* * Class parameters must be raw, so we can't create a proxy with generic * type arguments. The created proxy only records calls and returns null, so * the type is irrelevant at runtime. */ mock = mock(LoadingCache.class); forward =
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 17 12:41:04 GMT 2023 - 3.4K bytes - Viewed (0) -
guava/src/com/google/common/base/Stopwatch.java
* (by default) uses {@link System#nanoTime}, it is unaffected by these changes. * * <p>Use this class instead of direct calls to {@link System#nanoTime} for two reasons: * * <ul> * <li>The raw {@code long} values returned by {@code nanoTime} are meaningless and unsafe to use * in any other way than how {@code Stopwatch} uses them.
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Feb 23 15:09:35 GMT 2023 - 9.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/TypesTest.java
GenericArrayType ourType1 = (GenericArrayType) Types.newArrayType(Types.newParameterizedType(List.class, String.class)); @SuppressWarnings("rawtypes") // test of raw types Type jvmType2 = new TypeCapture<List[]>() {}.capture(); Type ourType2 = Types.newArrayType(List.class); new EqualsTester() .addEqualityGroup(jvmType1, ourType1)
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 22 17:15:24 GMT 2024 - 14.8K bytes - Viewed (0) -
guava/src/com/google/common/cache/Striped64.java
* contention levels will recur, so the cells will eventually be * needed again; and for short-lived ones, it does not matter. */ /** * Padded variant of AtomicLong supporting only raw accesses plus CAS. The value field is placed * between pads, hoping that the JVM doesn't reorder them. * * <p>JVM intrinsics note: It would be possible to use a release-only form of CAS here, if it were * provided.
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 17:40:56 GMT 2024 - 11.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java
} // We use the rawtypeToWildcard "cast" to make the test work with J2KT in other tests. Leaving one // test without that cast to verify that using the raw Comparable works outside J2KT. @J2ktIncompatible // J2KT's translation of raw Comparable is not a supertype of Int translation public void testCreation_expectedSize() { MinMaxPriorityQueue<Integer> queue = MinMaxPriorityQueue.expectedSize(8).create();
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 36.1K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/HashFunction.java
* array. This hashing API accepts an arbitrary sequence of byte and multibyte values (via * {@link Hasher}), but this is merely a convenience; these are always translated into raw * byte sequences under the covers. * <li><b>hash code:</b> each hash function always yields hash codes of the same fixed bit length
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue May 25 18:22:59 GMT 2021 - 10.9K bytes - Viewed (0)