- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for NewType (0.11 sec)
-
guava-tests/test/com/google/common/net/MediaTypeTest.java
MediaType newType = MediaType.createFontType("yams"); assertEquals("font", newType.type()); assertEquals("yams", newType.subtype()); } public void testCreateImageType() { MediaType newType = MediaType.createImageType("yams"); assertEquals("image", newType.type()); assertEquals("yams", newType.subtype()); } public void testCreateTextType() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 15:41:36 UTC 2024 - 20.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/FluentIterable.java
* unchecked cast at some later point: * * <pre> * {@code @SuppressWarnings("unchecked") // safe because of ::isInstance check * ImmutableList<NewType> result = * (ImmutableList) stream.filter(NewType.class::isInstance).collect(toImmutableList());} * </pre> */ @GwtIncompatible // Class.isInstance public final <T> FluentIterable<T> filter(Class<T> type) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Sep 24 13:42:31 UTC 2024 - 35.7K bytes - Viewed (0)