- Sort Score
- Result 10 results
- Languages All
Results 291 - 300 of 555 for unchecked (0.09 sec)
-
android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java
assertEquals( expectedType, TypeToken.of(StringListIterable.class).getSupertype(Iterable.class).getType()); } public void testGetSupertype_chained() { @SuppressWarnings("unchecked") // StringListIterable extends ListIterable<String> TypeToken<ListIterable<String>> listIterableType = (TypeToken<ListIterable<String>>)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 21:13:09 UTC 2024 - 89.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeImpl.java
public SmbTreeImpl acquire () { return acquire(true); } /** * {@inheritDoc} * * @see jcifs.SmbTree#unwrap(java.lang.Class) */ @SuppressWarnings ( "unchecked" ) @Override public <T extends SmbTree> T unwrap ( Class<T> type ) { if ( type.isAssignableFrom(this.getClass()) ) { return (T) this; } throw new ClassCastException();
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Thu Jan 05 13:06:39 UTC 2023 - 29.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/SID.java
} } } /** * * {@inheritDoc} * * @see jcifs.SID#unwrap(java.lang.Class) */ @SuppressWarnings ( "unchecked" ) @Override public <T> T unwrap ( Class<T> t ) { if ( t.isAssignableFrom(this.getClass()) ) { return (T) this; } throw new ClassCastException(); }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 14.9K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java
CheckSetUpHashMapGenerator(AtomicBoolean setUpRan) { this.setUpRan = setUpRan; } @Override Map<String, String> wrap(HashMap<String, String> map) { @SuppressWarnings("unchecked") Map<String, String> proxy = Reflection.newProxy(Map.class, new CheckSetUpInvocationHandler(map, setUpRan)); return proxy; } } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Apr 19 19:24:36 UTC 2023 - 11.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/NavigableMapNavigationTester.java
b = entries.get(1); c = entries.get(2); } } } /** Resets the contents of navigableMap to have entries a, c, for the navigation tests. */ @SuppressWarnings("unchecked") // Needed to stop Eclipse whining private void resetWithHole() { Entry<K, V>[] entries = (Entry<K, V>[]) new Entry<?, ?>[] {a, c}; super.resetMap(entries); navigableMap = (NavigableMap<K, V>) getMap(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/QueryHelperTest.java
} } private void assertHighlightedQueries(Set<String> highlightedQuerySet) { @SuppressWarnings("unchecked") Set<String> set = (Set<String>) getMockRequest().getAttribute(Constants.HIGHLIGHT_QUERIES); if (highlightedQuerySet != null) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Jul 11 08:26:36 UTC 2024 - 39.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableSetMultimap.java
/** * Returns the empty multimap. * * <p><b>Performance note:</b> the instance returned is a singleton. */ // Casting is safe because the multimap will never hold any elements. @SuppressWarnings("unchecked") public static <K, V> ImmutableSetMultimap<K, V> of() { return (ImmutableSetMultimap<K, V>) EmptyImmutableSetMultimap.INSTANCE; } /** Returns an immutable multimap containing a single entry. */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 26.2K bytes - Viewed (0) -
guava/src/com/google/common/graph/ImmutableGraph.java
for (N node : graph.nodes()) { nodeConnections.put(node, connectionsOf(graph, node)); } return nodeConnections.buildOrThrow(); } @SuppressWarnings("unchecked") private static <N> GraphConnections<N, Presence> connectionsOf(Graph<N> graph, N node) { Function<N, Presence> edgeValueFn = (Function<N, Presence>) Functions.constant(Presence.EDGE_EXISTS);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 01 16:30:37 UTC 2022 - 7.1K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/ElementOrder.java
return Maps.newLinkedHashMapWithExpectedSize(expectedSize); case SORTED: return Maps.newTreeMap(comparator()); } throw new AssertionError(); } @SuppressWarnings("unchecked") <T1 extends T> ElementOrder<T1> cast() { return (ElementOrder<T1>) this; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 16 17:21:56 UTC 2024 - 6.7K bytes - Viewed (0) -
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(@CheckForNull Object obj) { if (!(obj instanceof EndpointPair)) { return false; } EndpointPair<?> endpointPair = (EndpointPair<?>) obj;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jan 22 17:29:38 UTC 2024 - 7.2K bytes - Viewed (0)