- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for newArrayListWithExpectedSize (0.18 seconds)
-
android/guava-tests/test/com/google/common/cache/CacheBuilderFactory.java
* Sets.cartesianProduct with those, then transforms the result to unwrap the Optionals. */ private Iterable<List<Object>> buildCartesianProduct(Set<?>... sets) { List<Set<Optional<?>>> optionalSets = Lists.newArrayListWithExpectedSize(sets.length); for (Set<?> set : sets) { Set<Optional<?>> optionalSet = Sets.newLinkedHashSet(Iterables.transform(set, Optional::fromNullable)); optionalSets.add(optionalSet); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 7.5K bytes - Click Count (0)