- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for __construct (0.18 sec)
-
guava-tests/test/com/google/common/reflect/TypeTokenTest.java
assertEquals(new TypeToken<Iterable<String>>() {}, type.getSupertype(Iterable.class)); } public <T extends Iterable<String>> void testGetSupertype_fromTypeVariable() { @SuppressWarnings("unchecked") // to construct TypeToken<T> from TypeToken.of() TypeToken<T> typeVariableToken = (TypeToken<T>) TypeToken.of(new TypeCapture<T>() {}.capture()); assertEquals(
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 17:15:24 GMT 2024 - 88.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Sets.java
* is merely copied. Only as the power set is iterated are the individual subsets created, and * these subsets themselves occupy only a small constant amount of memory. * * @param set the set of elements to construct a power set from * @return the power set, as an immutable set of immutable sets * @throws IllegalArgumentException if {@code set} has more than 30 unique elements (causing the
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed May 01 18:44:57 GMT 2024 - 77.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableSortedMap.java
return CollectCollectors.toImmutableSortedMap( comparator, keyFunction, valueFunction, mergeFunction); } /* * TODO(kevinb): Confirm that ImmutableSortedMap is faster to construct and * uses less memory than TreeMap; then say so in the class Javadoc. */ private static final Comparator<?> NATURAL_ORDER = Ordering.natural();
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed May 01 18:44:57 GMT 2024 - 53.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableSortedMap.java
return CollectCollectors.toImmutableSortedMap( comparator, keyFunction, valueFunction, mergeFunction); } /* * TODO(kevinb): Confirm that ImmutableSortedMap is faster to construct and * uses less memory than TreeMap; then say so in the class Javadoc. */ private static final Comparator<?> NATURAL_ORDER = Ordering.natural();
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 21:19:52 GMT 2024 - 50.3K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/TypeToken.java
* }</pre> */ protected TypeToken() { this.runtimeType = capture(); checkState( !(runtimeType instanceof TypeVariable), "Cannot construct a TypeToken for a type variable.\n" + "You probably meant to call new TypeToken<%s>(getClass()) " + "that can resolve the type variable for you.\n"
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Jun 26 21:02:13 GMT 2023 - 53.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java
assertEquals(new TypeToken<Iterable<String>>() {}, type.getSupertype(Iterable.class)); } public <T extends Iterable<String>> void testGetSupertype_fromTypeVariable() { @SuppressWarnings("unchecked") // to construct TypeToken<T> from TypeToken.of() TypeToken<T> typeVariableToken = (TypeToken<T>) TypeToken.of(new TypeCapture<T>() {}.capture()); assertEquals(
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 22 17:15:24 GMT 2024 - 88.7K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFile.java
} /** * Construct from string URL * * @param url * @param tc * context to use * @throws MalformedURLException */ public SmbFile ( String url, CIFSContext tc ) throws MalformedURLException { this(new URL(null, url, tc.getUrlHandler()), tc); } /** * Construct from URL * * @param url
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Mon Mar 13 12:00:57 GMT 2023 - 81.6K bytes - Viewed (0)