- Sort Score
- Result 10 results
- Languages All
Results 341 - 350 of 529 for Iterators (0.1 sec)
-
src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java
void constructorOpenNullCloses() throws Exception { // Arrange stubAcquireReturnsSelf(); List<FileEntry[]> pages = List.of(new FileEntry[][] { new FileEntry[] {} }); // Create iterator where open() returns null by giving null initial TestIterator it = TestIterator.create(tree, parent, "*", null, 0, null, pages); // Assert
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/SortedMapNavigationTester.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 6.2K bytes - Viewed (0) -
src/main/java/jcifs/ntlmssp/av/AvPairs.java
* * @param pairs the list of AV pairs to modify * @param type the AV pair type to remove */ public static void remove(final List<AvPair> pairs, final int type) { final Iterator<AvPair> it = pairs.iterator(); while (it.hasNext()) { final AvPair p = it.next(); if (p.getType() == type) { it.remove(); } } } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.3K bytes - Viewed (0) -
android/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 Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 19 21:24:11 UTC 2025 - 15K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/HashMultisetTest.java
Multiset<Multiset<?>> multiset = HashMultiset.create(); multiset.add(multiset, 2); Multiset<Multiset<?>> copy = SerializableTester.reserialize(multiset); assertEquals(2, copy.size()); assertSame(copy, copy.iterator().next()); } @J2ktIncompatible @GwtIncompatible // Only used by @GwtIncompatible code private static class MultisetHolder implements Serializable { private final Multiset<?> member;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 4.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/MultiInputStreamTest.java
public long skip(long n) { return 0; } }; } }) .iterator()); assertEquals(0, multi.skip(-1)); assertEquals(0, multi.skip(-1)); assertEquals(0, multi.skip(0)); ByteStreams.skipFully(multi, 20); assertEquals(20, multi.read()); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 4.6K bytes - Viewed (0) -
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())
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 20.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/convert/DateConversionUtil.java
} } return new String(buf); } /** * {@link Iterator} that iterates over {@link DateFormat}s corresponding to the styles held by the locale. * * @author koichik */ protected static class DateFormatIterator implements Iterator<DateFormat> { /** The locale. */ protected final Locale locale;
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 19.6K bytes - Viewed (0) -
guava/src/com/google/common/cache/RemovalCause.java
* the License. */ package com.google.common.cache; import com.google.common.annotations.GwtCompatible; import java.util.Iterator; import java.util.Map; import java.util.concurrent.ConcurrentMap; /** * The reason why a cached entry was removed. * * @author Charles Fry * @since 10.0 */ @GwtCompatible
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 2.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/ImmutableIntArrayTest.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(ImmutableIntArray.of())
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 20.2K bytes - Viewed (0)