- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for unchecked (0.21 sec)
-
android/guava/src/com/google/common/collect/Platform.java
* - https://github.com/jspecify/jdk/commit/71d826792b8c7ef95d492c50a274deab938f2552 */ /* * TODO(cpovirk): Is the unchecked cast avoidable? Would System.arraycopy be similarly fast (if * likewise not type-checked)? Could our single caller do something different? */ @SuppressWarnings({"nullness", "unchecked"}) static <T extends @Nullable Object> T[] copy(Object[] source, int from, int to, T[] arrayOfType) {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 22 21:19:52 GMT 2024 - 4.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/Platform.java
* * @author Chris Povirk */ @GwtCompatible(emulated = true) @ElementTypesAreNonnullByDefault final class Platform { /** Serializes and deserializes the specified object. */ @SuppressWarnings("unchecked") static <T> T reserialize(T object) { checkNotNull(object); ByteArrayOutputStream bytes = new ByteArrayOutputStream(); try { ObjectOutputStream out = new ObjectOutputStream(bytes);
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Aug 23 12:13:11 GMT 2023 - 1.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/Platform.java
* * @author Chris Povirk */ @GwtCompatible(emulated = true) @ElementTypesAreNonnullByDefault final class Platform { /** Serializes and deserializes the specified object. */ @SuppressWarnings("unchecked") static <T> T reserialize(T object) { checkNotNull(object); ByteArrayOutputStream bytes = new ByteArrayOutputStream(); try { ObjectOutputStream out = new ObjectOutputStream(bytes);
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Aug 23 12:13:11 GMT 2023 - 1.7K bytes - Viewed (0) -
guava-gwt/test-super/com/google/common/testing/super/com/google/common/testing/Platform.java
* * @author Chris Povirk */ final class Platform { /** Serializes and deserializes the specified object (a no-op under GWT). */ @SuppressWarnings("unchecked") static <T> T reserialize(T object) { return checkNotNull(object); } private Platform() {}
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 1K 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: *
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Jun 29 18:16:45 GMT 2023 - 4.7K bytes - Viewed (0)