- Sort Score
- Result 10 results
- Languages All
Results 221 - 230 of 250 for castTo (0.04 sec)
-
guava-testlib/src/com/google/common/testing/FreshValueGenerator.java
if (generated != null) { freshness.incrementAndGet(); } return generated; } final <T> @Nullable T generateFresh(Class<T> type) { return Primitives.wrap(type).cast(generateFresh(TypeToken.of(type))); } final <T> T newFreshProxy(Class<T> interfaceType) { T proxy = newProxy(interfaceType); freshness.incrementAndGet(); return proxy; } /**
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 28.7K bytes - Viewed (0) -
guava/src/com/google/common/cache/CacheBuilder.java
if (expireAfterWriteNanos == 0 || expireAfterAccessNanos == 0) { return 0; } return (weigher == null) ? maximumSize : maximumWeight; } // Make a safe contravariant cast now so we don't have to do it over and over. @SuppressWarnings("unchecked") <K1 extends K, V1 extends V> Weigher<K1, V1> getWeigher() { return (Weigher<K1, V1>) MoreObjects.firstNonNull(weigher, OneWeigher.INSTANCE);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Oct 08 18:55:33 UTC 2025 - 51.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java
Comparator<? super E> comparator, Iterable<? extends E> elements) { if (elements instanceof ImmutableSortedMultiset) { @SuppressWarnings("unchecked") // immutable collections are always safe for covariant casts ImmutableSortedMultiset<E> multiset = (ImmutableSortedMultiset<E>) elements; if (comparator.equals(multiset.comparator())) { if (multiset.isPartialView()) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 35.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/MapMakerInternalMap.java
Segment(MapMakerInternalMap<K, V, E, S> map, int initialCapacity) { this.map = map; initTable(newEntryArray(initialCapacity)); } /** * Returns {@code this} up-casted to the specific {@link Segment} implementation type {@code S}. * * <p>This method exists so that the {@link Segment} code can be generic in terms of {@code S}, * the type of the concrete implementation.Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 18:35:44 UTC 2025 - 89.9K bytes - Viewed (0) -
guava/src/com/google/common/primitives/Chars.java
return result; } /** * Returns the {@code char} nearest in value to {@code value}. * * @param value any {@code long} value * @return the same value cast to {@code char} if it is in the range of the {@code char} type, * {@link Character#MAX_VALUE} if it is too large, or {@link Character#MIN_VALUE} if it is too * small */Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 24.2K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java
services.forEach((itf, svc) -> injector.bindSupplier((Class<Service>) itf, (Supplier<Service>) svc)); mojo = mojoInterface.cast(injector.getInstance( Key.of(mojoDescriptor.getImplementationClass(), mojoDescriptor.getRoleHint()))); } catch (Exception e) {
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Dec 09 16:35:21 UTC 2025 - 46.4K bytes - Viewed (0) -
fess-crawler-lasta/src/main/resources/crawler/extractor.xml
"image/x-raw-mamiya", "image/x-raw-leaf", "image/x-raw-panasonic", "image/x-raw-phaseone", "image/x-raw-red", "image/x-raw-imacon", "image/x-raw-logitech", "image/x-raw-casio", "image/x-raw-rawzor", "image/x-rgb", "image/x-xbitmap", "image/x-xcf", "image/x-xpixmap", "image/x-xwindowdump", "message/cpim", "message/delivery-status",
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Nov 23 03:46:53 UTC 2025 - 50.1K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sun Mar 30 23:08:08 UTC 2025 - 55.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/Streams.java
this.holder = t; } @Override public boolean tryAdvance(Consumer<? super R> action) { if (fromSpliterator.tryAdvance(this)) { try { // The cast is safe because tryAdvance puts a T into `holder`. action.accept(function.apply(uncheckedCastNullableTToT(holder), index++)); return true; } finally { holder = null;Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 36.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/OrderingTest.java
} void testIsOrdered() { assertTrue(ordering.isOrdered(strictlyOrderedList)); assertTrue(ordering.isStrictlyOrdered(strictlyOrderedList)); } // generic arrays and unchecked cast void testMinAndMax() { List<T> shuffledList = new ArrayList<>(strictlyOrderedList); shuffledList = shuffledCopy(shuffledList, new Random(5)); T min = strictlyOrderedList.get(0);Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Oct 10 23:13:45 UTC 2025 - 42.8K bytes - Viewed (0)