- Sort Score
- Result 10 results
- Languages All
Results 231 - 240 of 360 for UNCHECKED (0.39 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/testers/SortedMapNavigationTester.java
public void testOrderedByComparator() { Comparator<? super K> comparator = navigableMap.comparator(); if (comparator == null) { comparator = new Comparator<K>() { @SuppressWarnings("unchecked") @Override public int compare(K o1, K o2) { return ((Comparable) o1).compareTo(o2); } }; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 6.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ForwardingSortedMapTest.java
MapFeature.REJECTS_DUPLICATES_AT_CREATION, MapFeature.ALLOWS_ANY_NULL_QUERIES) .createTestSuite()); return suite; } @SuppressWarnings({"rawtypes", "unchecked"}) public void testForwarding() { new ForwardingWrapperTester() .testForwarding( SortedMap.class, new Function<SortedMap, SortedMap>() { @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 20:34:52 UTC 2025 - 7.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/SubtypeTester.java
} } private Type getOnlyParameterType() { assertThat(method.getGenericParameterTypes()).hasLength(1); return method.getGenericParameterTypes()[0]; } @SuppressWarnings({"rawtypes", "unchecked"}) private static Type getSupertype(Type type, Class<?> superclass) { Class rawType = superclass; return TypeToken.of(type).getSupertype(rawType).getType(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 6.2K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/Platform.java
return mapMaker; } static <E extends Enum<E>> Class<E> getDeclaringClassOrObjectForJ2cl(E e) { Class<E> classOrNull = getDeclaringClassOrNullForJ2cl(e); @SuppressWarnings("unchecked") Class<E> result = classOrNull == null ? (Class<E>) (Class<?>) Object.class : classOrNull; return result; } /* * If I understand correctly: *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jun 10 15:17:16 UTC 2025 - 5.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/ArrayUtil.java
*/ public static <T> T[] add(final T[] array, final T obj) { assertArgumentNotNull("array", array); final int length = array.length; @SuppressWarnings("unchecked") final T[] newArray = (T[]) Array.newInstance(array.getClass().getComponentType(), length + 1); System.arraycopy(array, 0, newArray, 0, length); newArray[length] = obj; return newArray;
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 41.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/score/QueryRescorerTest.java
} // Check for nested map if (params.containsKey("nested") && params.get("nested") instanceof Map) { @SuppressWarnings("unchecked") Map<String, Object> nestedMap = (Map<String, Object>) params.get("nested"); if (nestedMap.containsKey("innerKey")) { return createMockRescorerBuilder();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.3K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/AbstractBaseGraph.java
// operations only in weird cases like checking for an EndpointPair<ArrayList> in a // Graph<LinkedList>. @SuppressWarnings("unchecked") @Override public boolean contains(@Nullable Object obj) { if (!(obj instanceof EndpointPair)) { return false; } EndpointPair<?> endpointPair = (EndpointPair<?>) obj;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 7.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java
} @Override public SampleElements<K> samples() { return samples; } @Override public Set<K> create(Object... elements) { @SuppressWarnings("unchecked") K[] keysArray = (K[]) elements; // Start with a suitably shaped collection of entries Collection<Entry<K, V>> originalEntries = mapGenerator.getSampleElements(elements.length);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jan 30 16:59:10 UTC 2025 - 18.2K bytes - Viewed (0) -
guava/src/com/google/common/base/Suppliers.java
NonSerializableMemoizingSupplier(Supplier<T> delegate) { this.delegate = checkNotNull(delegate); } @Override @ParametricNullness @SuppressWarnings("unchecked") // Cast from Supplier<Void> to Supplier<T> is always valid public T get() { // Because Supplier is read-heavy, we use the "double-checked locking" pattern. if (delegate != SUCCESSFULLY_COMPUTED) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 16.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/entity/QueryContext.java
* @param queryString The query string to process. * @param isQuery Whether this is a search query (enables highlighting and logging). */ @SuppressWarnings("unchecked") public QueryContext(final String queryString, final boolean isQuery) { if (queryString != null) { if (queryString.startsWith(ALLINURL_FIELD_PREFIX)) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.4K bytes - Viewed (0)