Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 282 for hasNext (0.11 sec)

  1. src/main/java/jcifs/smb1/smb1/Dfs.java

                if (path.equals("\\") == false)
                    key += path;
                key = key.toLowerCase();
    
                Iterator iter = referrals.map.keySet().iterator();
                while (iter.hasNext()) {
                    String _key = (String)iter.next();
                    int _klen = _key.length();
                    boolean match = false;
    
                    if (_klen == key.length()) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 11.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/HashBiMap.java

              }
            }
    
            @Override
            public boolean hasNext() {
              checkForComodification();
              return index != ENDPOINT && remaining > 0;
            }
    
            @Override
            @ParametricNullness
            public T next() {
              if (!hasNext()) {
                throw new NoSuchElementException();
              }
              T result = forEntry(index);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Mar 06 16:06:58 UTC 2023
    - 36.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

        @CheckForNull private Queue<E> forgetMeNot;
        @CheckForNull private List<E> skipMe;
        @CheckForNull private E lastFromForgetMeNot;
        private boolean canRemove;
    
        @Override
        public boolean hasNext() {
          checkModCount();
          nextNotInSkipMe(cursor + 1);
          return (nextCursor < size()) || ((forgetMeNot != null) && !forgetMeNot.isEmpty());
        }
    
        @Override
        public E next() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java

                            ResolutionNode resolved = null;
                            for (Iterator<ConflictResolver> j = conflictResolvers.iterator();
                                    resolved == null && j.hasNext(); ) {
                                ConflictResolver conflictResolver = j.next();
    
                                resolved = conflictResolver.resolveConflict(previous, node);
                            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 36.7K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java

        assertEquals(0, multiset.toArray().length);
        assertTrue(multiset.entrySet().isEmpty());
        assertFalse(multiset.iterator().hasNext());
        assertEquals(0, multiset.entrySet().size());
        assertEquals(0, multiset.entrySet().toArray().length);
        assertFalse(multiset.entrySet().iterator().hasNext());
      }
    
      public void testEmptyRangeSubMultisetSupportingAdd(SortedMultiset<E> multiset) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnectionPool.kt

          scheduleOpener(connection.route.address)
          true
        } else {
          scheduleCloser()
          false
        }
      }
    
      fun evictAll() {
        val i = connections.iterator()
        while (i.hasNext()) {
          val connection = i.next()
          val socketToClose =
            connection.withLock {
              if (connection.calls.isEmpty()) {
                i.remove()
                connection.noNewExchanges = true
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/CommonsCliMavenOptions.java

                    if (!CLIManager.USER_PROPERTY.equals(option.getOpt())) {
                        List<String> values = option.getValuesList();
                        for (ListIterator<String> it = values.listIterator(); it.hasNext(); ) {
                            it.set(interpolator.interpolate(it.next()));
                        }
                    }
                    commandLineBuilder.addOption(option);
                }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/RepositoryUtils.java

            if (r1.size() != r2.size()) {
                return false;
            }
    
            for (Iterator<RemoteRepository> it1 = r1.iterator(), it2 = r2.iterator(); it1.hasNext(); ) {
                if (!repositoryEquals(it1.next(), it2.next())) {
                    return false;
                }
            }
    
            return true;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/CompactHashSet.java

          int currentIndex = firstEntryIndex();
          int indexToRemove = -1;
    
          @Override
          public boolean hasNext() {
            return currentIndex >= 0;
          }
    
          @Override
          @ParametricNullness
          public E next() {
            checkForConcurrentModification();
            if (!hasNext()) {
              throw new NoSuchElementException();
            }
            indexToRemove = currentIndex;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  10. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

          serverSocket?.closeQuietly()
    
          val openClientSocket = openClientSockets.iterator()
          while (openClientSocket.hasNext()) {
            openClientSocket.next().closeQuietly()
            openClientSocket.remove()
          }
    
          val httpConnection = openConnections.iterator()
          while (httpConnection.hasNext()) {
            httpConnection.next().closeQuietly()
            httpConnection.remove()
          }
          dispatcher.shutdown()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 37.4K bytes
    - Viewed (0)
Back to top