- Sort Score
- Result 10 results
- Languages All
Results 1131 - 1140 of 1,356 for Collections (0.05 sec)
-
guava-tests/test/com/google/common/graph/NetworkEquivalenceTest.java
import static com.google.common.graph.TestUtil.EdgeType.UNDIRECTED; import static com.google.common.truth.Truth.assertThat; import com.google.common.graph.TestUtil.EdgeType; import java.util.Arrays; import java.util.Collection; import org.jspecify.annotations.NullUnmarked; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.Parameterized; import org.junit.runners.Parameterized.Parameters; @AndroidIncompatible
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 5.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/Indexed.java
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, * either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.core.collection; /** * Element to be iterated by {@link IndexedIterator}. * * @author wyukawa * @param <T> the element type * @see IndexedIterator */ public class Indexed<T> { /** The element. */Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 1.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListCreationTester.java
@CollectionFeature.Require(absent = REJECTS_DUPLICATES_AT_CREATION) @CollectionSize.Require(absent = {ZERO, ONE}) public void testCreateWithDuplicates() { E[] array = createSamplesArray(); array[1] = e0(); collection = getSubjectGenerator().create(array); expectContents(array); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 2K bytes - Viewed (0) -
docs/smb3-features/03-multi-channel-design.md
} } private ChannelInfo selectLeastLoaded(Collection<ChannelInfo> channels) { return channels.stream() .min(Comparator.comparingLong(ChannelInfo::getRequestsPending)) .orElseThrow(); } private ChannelInfo selectWeightedRandom(Collection<ChannelInfo> channels) { // Calculate total weight int totalWeight = channels.stream()Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 39.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListAddAtIndexTester.java
@ListFeature.Require(SUPPORTS_ADD_WITH_INDEX) public void testAddAtIndexConcurrentWithIteration() { assertThrows( ConcurrentModificationException.class, () -> { Iterator<E> iterator = collection.iterator(); getList().add(0, e3()); iterator.next(); }); } @ListFeature.Require(absent = SUPPORTS_ADD_WITH_INDEX) public void testAddAtIndex_unsupportedNotPresent() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 5.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/ArrayIteratorTest.java
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, * either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.core.collection; import static org.hamcrest.CoreMatchers.equalTo; import static org.hamcrest.CoreMatchers.is; import static org.hamcrest.CoreMatchers.not; import static org.junit.Assert.assertThat;
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 2.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/exception/SQLRuntimeException.java
* either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.core.exception; import static org.codelibs.core.collection.ArrayUtil.asArray; import java.sql.SQLException; import org.codelibs.core.message.MessageFormatter; /** * Exception that wraps {@link SQLException}. * * @author higa * @author manhole */Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 2.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/ListIndexOfTester.java
@CollectionSize.Require(absent = {ZERO, ONE}) public void testIndexOf_duplicate() { E[] array = createSamplesArray(); array[getNumElements() / 2] = e0(); collection = getSubjectGenerator().create(array); assertEquals( "indexOf(duplicate) should return index of first occurrence", 0, getList().indexOf(e0())); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 2.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestIntegerSetGenerator.java
import com.google.common.collect.testing.SampleElements.Ints; import java.util.List; import java.util.Set; import org.jspecify.annotations.NullMarked; /** * Create integer sets for collection tests. * * @author Gregory Kick */ @GwtCompatible @NullMarked public abstract class TestIntegerSetGenerator implements TestSetGenerator<Integer> { @Override public SampleElements<Integer> samples() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 2.1K bytes - Viewed (0) -
src/main/java/org/codelibs/core/misc/DisposableUtil.java
* either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.core.misc; import static org.codelibs.core.collection.CollectionsUtil.newLinkedList; import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull; import java.beans.Introspector; import java.util.Deque; /**
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 3K bytes - Viewed (0)