- Sort Score
- Num 10 results
- Language All
Results 411 - 420 of 607 for Iterators (0.06 seconds)
-
guava-tests/test/com/google/common/math/DoubleMathTest.java
assertThat(DoubleMath.mean(ImmutableList.of(11, -22, 44, -88).iterator())) .isWithin(1.0e-10) .of(-13.75); assertThat(DoubleMath.mean(ImmutableList.of(11).iterator())).isWithin(1.0e-10).of(11); assertThrows( IllegalArgumentException.class, () -> DoubleMath.mean(ImmutableList.<Integer>of().iterator())); } @GwtIncompatible // DoubleMath.mean
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Oct 30 14:15:36 GMT 2025 - 27.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/user/allcommon/EsAbstractBehavior.java
Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Nov 27 07:01:25 GMT 2025 - 26.4K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/props/MavenProperties.java
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Oct 16 09:03:48 GMT 2025 - 38.5K bytes - Click Count (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jul 23 17:27:08 GMT 2025 - 38.4K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableMapKeySet.java
ImmutableMapKeySet(ImmutableMap<K, V> map) { this.map = map; } @Override public int size() { return map.size(); } @Override public UnmodifiableIterator<K> iterator() { return map.keyIterator(); } @Override public boolean contains(@Nullable Object object) { return map.containsKey(object); } @Override K get(int index) {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 2.1K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/DerivedGenerator.java
*/ package com.google.common.collect.testing; import com.google.common.annotations.GwtCompatible; /** * A generator that relies on a preexisting generator for most of its work. For example, a derived * iterator generator may delegate the work of creating the underlying collection to an inner * collection generator. * * <p>{@code GwtTestSuiteGenerator} expects every {@code DerivedIterator} implementation to provideCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Oct 10 19:45:10 GMT 2022 - 1.3K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/DerivedGenerator.java
*/ package com.google.common.collect.testing; import com.google.common.annotations.GwtCompatible; /** * A generator that relies on a preexisting generator for most of its work. For example, a derived * iterator generator may delegate the work of creating the underlying collection to an inner * collection generator. * * <p>{@code GwtTestSuiteGenerator} expects every {@code DerivedIterator} implementation to provideCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Oct 10 19:45:10 GMT 2022 - 1.3K bytes - Click Count (0) -
src/main/java/org/codelibs/core/collection/ArrayMap.java
@Override public Set<Map.Entry<K, V>> entrySet() { if (entrySet == null) { entrySet = new AbstractSet<Entry<K, V>>() { @Override public Iterator<Entry<K, V>> iterator() { return new ArrayMapIterator(); } @Override public boolean contains(final Object o) {Created: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Sat Nov 22 11:21:59 GMT 2025 - 20.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java
* half of that is more awkward to arrange... */ private static <T> Iterable<T> iterable(Collection<T> collection) { // return collection::iterator; return new Iterable<T>() { @Override public Iterator<T> iterator() { return collection.iterator(); } }; } public void testEquals() { new EqualsTester() .addEqualityGroup(ImmutableLongArray.of())
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 20.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/FilteredCollectionsTestUtil.java
for (List<Integer> contents : SAMPLE_INPUTS) { C unfiltered = createUnfiltered(contents); C filtered = filter(unfiltered, EVEN); Iterator<Integer> filteredItr = filtered.iterator(); for (Integer i : unfiltered) { if (EVEN.apply(i)) { assertTrue(filteredItr.hasNext()); assertEquals(i, filteredItr.next()); } }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 13.1K bytes - Click Count (0)