- Sort Score
- Num 10 results
- Language All
Results 231 - 240 of 294 for Iterables (0.07 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
guava-testlib/src/com/google/common/collect/testing/ListTestSuiteBuilder.java
} @Override public E[] createArray(int length) { return gen.createArray(length); } @Override public Iterable<E> order(List<E> insertionOrder) { return gen.order(insertionOrder); } } private static Set<Feature<?>> computeReserializedCollectionFeatures(Set<Feature<?>> features) {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 6.4K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/NavigableMapTestSuiteBuilder.java
public NavigableMap<K, V> create(Object... entries) { NavigableMap<K, V> map = (NavigableMap<K, V>) delegate.create(entries); return map.descendingMap(); } @Override public Iterable<Entry<K, V>> order(List<Entry<K, V>> insertionOrder) { insertionOrder = castOrCopyToList(delegate.order(insertionOrder)); reverse(insertionOrder); return insertionOrder; }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 7K bytes - Click Count (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/tasks/PackageListGenerator.kt
* * <p>Visible for testing.</p> */ class Implementation(private val excludes: List<String>, private val includes: List<String>) { fun collectPackages(files: Iterable<Path>): Trie { val builder = Trie.Builder() for (file in files) { if (Files.exists(file)) { if (file.fileName.toString().endsWith(".jar")) {Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Fri Apr 11 15:53:18 GMT 2025 - 7.1K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/ListTestSuiteBuilder.java
} @Override public E[] createArray(int length) { return gen.createArray(length); } @Override public Iterable<E> order(List<E> insertionOrder) { return gen.order(insertionOrder); } } private static Set<Feature<?>> computeReserializedCollectionFeatures(Set<Feature<?>> features) {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 6.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/RegularImmutableTableTest.java
private static final DenseImmutableTable<Character, Integer, String> DENSE = new DenseImmutableTable<>(CELLS.asList(), ROW_SPACE, COLUMN_SPACE); @Override Iterable<ImmutableTable<Character, Integer, String>> getTestInstances() { return ImmutableList.<ImmutableTable<Character, Integer, String>>of(SPARSE, DENSE); } public void testCellSet() {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 6.3K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/AbstractSetMultimap.java
* * <p>Any duplicates in {@code values} will be stored in the multimap once. */ @CanIgnoreReturnValue @Override public Set<V> replaceValues(@ParametricNullness K key, Iterable<? extends V> values) { return (Set<V>) super.replaceValues(key, values); } /** * {@inheritDoc} * * <p>Though the method signature doesn't say so explicitly, the returned map has {@link Set}Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Mar 20 13:05:10 GMT 2025 - 4.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ComparatorsTest.java
* @author Louis Wasserman */ @GwtCompatible @NullMarked public class ComparatorsTest extends TestCase { public void testLexicographical() { Comparator<String> comparator = Ordering.natural(); Comparator<Iterable<String>> lexy = Comparators.lexicographical(comparator); ImmutableList<String> empty = ImmutableList.of(); ImmutableList<String> a = ImmutableList.of("a"); ImmutableList<String> aa = ImmutableList.of("a", "a");Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Apr 12 15:07:59 GMT 2025 - 6.4K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapPutAllTester.java
} @MapFeature.Require(SUPPORTS_PUT) public void testPutAll_nullCollectionReference() { assertThrows(NullPointerException.class, () -> getMap().putAll(null)); } private void putAll(Iterable<Entry<K, V>> entries) { Map<K, V> map = new LinkedHashMap<>(); for (Entry<K, V> entry : entries) { map.put(entry.getKey(), entry.getValue()); } getMap().putAll(map); } /**
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 6.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/reflect/SubtypeTester.java
* * {@snippet : * class MySubtypeTests extends SubtypeTester { * @TestSubtype(suppressGetSubtype = true, suppressGetSupertype = true) * public <T> Iterable<? extends T> listIsSubtypeOfIterable(List<T> list) { * return isSubtype(list); * } * * @TestSubtype * public List<String> intListIsNotSubtypeOfStringList(List<Integer> intList) {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Nov 25 23:29:58 GMT 2025 - 6.2K bytes - Click Count (0) -
src/main/java/org/codelibs/core/convert/DateConversionUtil.java
import static java.text.DateFormat.LONG; import static java.text.DateFormat.MEDIUM; import static java.text.DateFormat.SHORT; import static java.text.DateFormat.getDateInstance; import static org.codelibs.core.collection.MultiIterator.iterable; import static org.codelibs.core.lang.StringUtil.isEmpty; import static org.codelibs.core.lang.StringUtil.isNotEmpty; import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull; import java.text.DateFormat;
Created: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 19.6K bytes - Click Count (0)