- Sort Score
- Result 10 results
- Languages All
Results 311 - 320 of 581 for Iterator$ (0.07 sec)
-
compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/VersionRange.java
private List<Restriction> intersection(List<Restriction> r1, List<Restriction> r2) { List<Restriction> restrictions = new ArrayList<>(r1.size() + r2.size()); Iterator<Restriction> i1 = r1.iterator(); Iterator<Restriction> i2 = r2.iterator(); Restriction res1 = i1.next(); Restriction res2 = i2.next(); boolean done = false; while (!done) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 19K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/TestUtil.java
* contains(). Verify that these sets are consistent with the elements of their iterator. */ @CanIgnoreReturnValue static <T> Set<T> sanityCheckSet(Set<T> set) { assertThat(set).hasSize(Iterators.size(set.iterator())); for (Object element : set) { assertThat(set).contains(element); } assertThat(set).doesNotContain(new Object());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jan 22 17:29:38 UTC 2024 - 3.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/Lists.java
: newArrayList(elements.iterator()); } /** * Creates a <i>mutable</i> {@code ArrayList} instance containing the given elements; a very thin * shortcut for creating an empty list and then calling {@link Iterators#addAll}. * * <p><b>Note:</b> if mutability is not required and the elements are non-null, use {@link * ImmutableList#copyOf(Iterator)} instead. */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 43.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/MutableClassToInstanceMap.java
return MutableClassToInstanceMap.this.delegate().entrySet(); } @Override public Iterator<Entry<Class<? extends @NonNull B>, B>> iterator() { return new TransformedIterator< Entry<Class<? extends @NonNull B>, B>, Entry<Class<? extends @NonNull B>, B>>( delegate().iterator()) { @Override Entry<Class<? extends @NonNull B>, B> transform(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 6.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/TransformedListIterator.java
import com.google.common.annotations.GwtCompatible; import com.google.common.base.Function; import java.util.ListIterator; import org.checkerframework.checker.nullness.qual.Nullable; /** * An iterator that transforms a backing list iterator; for internal use. This avoids the object * overhead of constructing a {@link Function} for internal methods. * * @author Louis Wasserman */ @GwtCompatible @ElementTypesAreNonnullByDefault
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Nov 21 21:43:01 UTC 2023 - 2.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/TransformedListIterator.java
import com.google.common.annotations.GwtCompatible; import com.google.common.base.Function; import java.util.ListIterator; import org.checkerframework.checker.nullness.qual.Nullable; /** * An iterator that transforms a backing list iterator; for internal use. This avoids the object * overhead of constructing a {@link Function} for internal methods. * * @author Louis Wasserman */ @GwtCompatible @ElementTypesAreNonnullByDefault
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Nov 21 21:43:01 UTC 2023 - 2.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/TestsForSetsInJavaUtil.java
public int size() { return deduped.length; } @Override public Iterator<String> iterator() { return MinimalCollection.of(deduped).iterator(); } }; } }) .named("AbstractSet") .withFeatures( CollectionFeature.NONE,
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 19.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableEnumMap.java
private ImmutableEnumMap(EnumMap<K, V> delegate) { this.delegate = delegate; checkArgument(!delegate.isEmpty()); } @Override UnmodifiableIterator<K> keyIterator() { return Iterators.unmodifiableIterator(delegate.keySet().iterator()); } @Override public int size() { return delegate.size(); } @Override public boolean containsKey(@CheckForNull Object key) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 3.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java
Cache<Integer, Integer> cache = CacheBuilder.newBuilder().expireAfterWrite(1000, MILLISECONDS).ticker(fakeTicker).build(); cache.put(10, 20); Iterator<Integer> iterator = cache.asMap().values().iterator(); iterator.next(); iterator.remove(); assertEquals(0, cache.size()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 14.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapTestSuiteBuilder.java
*/ Entry<?, ?>[] entries = new Entry<?, ?>[elements.length]; Map<K, Iterator<V>> valueIterators = new HashMap<>(); for (int i = 0; i < elements.length; i++) { @SuppressWarnings("unchecked") // These come from Entry<K, V> objects somewhere. K key = (K) elements[i]; Iterator<V> valueItr = valueIterators.get(key); if (valueItr == null) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 26.8K bytes - Viewed (0)