- Sort Score
- Result 10 results
- Languages All
Results 401 - 410 of 784 for iterator (0.18 sec)
-
guava/src/com/google/common/collect/UnmodifiableListIterator.java
import com.google.common.annotations.GwtCompatible; import com.google.errorprone.annotations.DoNotCall; import java.util.ListIterator; import org.checkerframework.checker.nullness.qual.Nullable; /** * A list iterator that does not support {@link #remove}, {@link #add}, or {@link #set}. * * @since 7.0 * @author Louis Wasserman */ @GwtCompatible @ElementTypesAreNonnullByDefault
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Jul 09 17:31:04 UTC 2021 - 2K bytes - Viewed (0) -
guava/src/com/google/common/collect/SingletonImmutableSet.java
public int size() { return 1; } @Override public boolean contains(@CheckForNull Object target) { return element.equals(target); } @Override public UnmodifiableIterator<E> iterator() { return singletonIterator(element); } @Override public ImmutableList<E> asList() { return ImmutableList.of(element); } @Override boolean isPartialView() { return false;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 2.6K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/-HeadersCommon.kt
if (result == null) result = ArrayList(2) result.add(value(i)) } } return result?.toList().orEmpty() } internal fun Headers.commonIterator(): Iterator<Pair<String, String>> { return Array(size) { name(it) to value(it) }.iterator() } internal fun Headers.commonNewBuilder(): Headers.Builder { val result = Headers.Builder() result.namesAndValues += namesAndValues return result }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 5.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableSortedSet.java
*/ @Override public Comparator<? super E> comparator() { return comparator; } @Override // needed to unify the iterator() methods in Collection and SortedIterable public abstract UnmodifiableIterator<E> iterator(); /** * {@inheritDoc} * * <p>This method returns a serializable {@code ImmutableSortedSet}. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 36.9K bytes - Viewed (0) -
android/guava/src/com/google/common/io/ByteSource.java
* close the open underlying stream. * * <p>Note: The input {@code Iterator} will be copied to an {@code ImmutableList} when this method * is called. This will fail if the iterator is infinite and may cause problems if the iterator * eagerly fetches data for each source when iterated (rather than producing sources that only
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 26.2K bytes - Viewed (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()); } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 13K bytes - Viewed (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) {
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 20.6K bytes - Viewed (0) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 26K bytes - Viewed (0) -
build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/AcceptedApiChangesTest.groovy
} ] } """]) then: changes.acceptedChanges.size() == 1 def acceptedChange = changes.acceptedChanges.entrySet().iterator().next() def change = acceptedChange.key change.type == "org.gradle.api.initialization.ConfigurableIncludedBuild" change.member == "Implemented interface org.gradle.api.initialization.IncludedBuild"
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Tue Jun 04 14:00:46 UTC 2024 - 3.8K bytes - Viewed (0) -
licenses/github.com/json-iterator/go/LICENSE
MIT License Copyright (c) 2016 json-iterator Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Sat Oct 26 02:47:39 UTC 2019 - 1K bytes - Viewed (0)