- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 282 for hasNext (0.11 sec)
-
src/main/java/jcifs/smb/FileEntryAdapterIterator.java
} protected abstract SmbResource adapt ( FileEntry e ) throws MalformedURLException; /** * {@inheritDoc} * * @see java.util.Iterator#hasNext() */ @Override public boolean hasNext () { return this.next != null; } /** * {@inheritDoc} * * @see java.util.Iterator#next() */ @Override
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 3.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/ShareEnumIterator.java
} /** * {@inheritDoc} * * @see java.util.Iterator#hasNext() */ @Override public boolean hasNext () { return this.next != null; } /** * {@inheritDoc} * * @see java.util.Iterator#next() */ @Override
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 3.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/EnumerationIteratorTest.java
vector.add("a"); final EnumerationIterator<String> itr = new EnumerationIterator<String>(vector.elements()); assertThat(itr.hasNext(), is(true)); assertThat(itr.next(), is("a")); assertThat(itr.hasNext(), is(not(true))); } /** * @throws Exception */ @Test public void testRemove() throws Exception {
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 3.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/TransformedIterator.java
this.backingIterator = checkNotNull(backingIterator); } @ParametricNullness abstract T transform(@ParametricNullness F from); @Override public final boolean hasNext() { return backingIterator.hasNext(); } @Override @ParametricNullness public final T next() { return transform(backingIterator.next()); } @Override public final void remove() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Jul 09 17:31:04 UTC 2021 - 1.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Multisets.java
this.multiset = multiset; this.entryIterator = entryIterator; } @Override public boolean hasNext() { return laterCount > 0 || entryIterator.hasNext(); } @Override @ParametricNullness public E next() { if (!hasNext()) { throw new NoSuchElementException(); } if (laterCount == 0) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 41.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/Multisets.java
this.multiset = multiset; this.entryIterator = entryIterator; } @Override public boolean hasNext() { return laterCount > 0 || entryIterator.hasNext(); } @Override @ParametricNullness public E next() { if (!hasNext()) { throw new NoSuchElementException(); } if (laterCount == 0) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 41.5K bytes - Viewed (0) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/resolver/AbstractArtifactResolutionException.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 10.1K bytes - Viewed (0) -
src/test/java/jcifs/tests/EnumTest.java
CIFSContext ctx = withAnonymousCredentials(); try ( SmbFile smbFile = new SmbFile("smb://", ctx) ) { try ( CloseableIterator<SmbResource> it = smbFile.children() ) { while ( it.hasNext() ) { try ( SmbResource serv = it.next() ) { System.err.println(serv.getName()); } } } }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Thu Jan 05 13:09:03 UTC 2023 - 25.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/EmptyIteratorTest.java
emptyIterator.remove(); } /** * Test method for * {@link org.codelibs.core.collection.EmptyIterator#hasNext()}. */ @Test public void testHasNext() { final EmptyIterator<String> emptyIterator = new EmptyIterator<String>(); assertThat(emptyIterator.hasNext(), is(false)); } /** * Test method for {@link org.codelibs.core.collection.EmptyIterator#next()}. */
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 2.5K bytes - Viewed (0) -
src/main/java/jcifs/EmptyIterator.java
/** * @author mbechler * */ public class EmptyIterator implements CloseableIterator<SmbResource> { /** * {@inheritDoc} * * @see java.util.Iterator#hasNext() */ @Override public boolean hasNext () { return false; } /** * {@inheritDoc} * * @see java.util.Iterator#next() */ @Override public SmbResource next () {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Tue Oct 16 10:32:35 UTC 2018 - 1.5K bytes - Viewed (0)