Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 713 for NEXT (0.04 sec)

  1. android/guava/src/com/google/common/graph/DirectedGraphConnections.java

                @Override
                @CheckForNull
                protected N computeNext() {
                  while (nodeConnections.hasNext()) {
                    NodeConnection<N> nodeConnection = nodeConnections.next();
                    boolean added = seenNodes.add(nodeConnection.node);
                    if (added) {
                      return nodeConnection.node;
                    }
                  }
                  return endOfData();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 18K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/TransformedIterator.java

      @Override
      public final boolean hasNext() {
        return backingIterator.hasNext();
      }
    
      @Override
      @ParametricNullness
      public final T next() {
        return transform(backingIterator.next());
      }
    
      @Override
      public final void remove() {
        backingIterator.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)
  3. guava-tests/test/com/google/common/collect/UnmodifiableIteratorTest.java

                return i < array.length;
              }
    
              @Override
              public String next() {
                if (!hasNext()) {
                  throw new NoSuchElementException();
                }
                return array[i++];
              }
            };
    
        assertTrue(iterator.hasNext());
        assertEquals("a", iterator.next());
        assertThrows(UnsupportedOperationException.class, () -> iterator.remove());
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/IteratorTester.java

     * A utility for testing an Iterator implementation by comparing its behavior to that of a "known
     * good" reference implementation. In order to accomplish this, it's important to test a great
     * variety of sequences of the {@link Iterator#next}, {@link Iterator#hasNext} and {@link
     * Iterator#remove} operations. This utility takes the brute-force approach of trying <i>all</i>
     * possible sequences of these operations, up to a given number of steps. So, if the caller
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/Utils.java

        @Nullable
        public static Path findRoot(Path topDirectory) {
            requireNonNull(topDirectory, "topDirectory");
            Path rootDirectory =
                    ServiceLoader.load(RootLocator.class).iterator().next().findRoot(topDirectory);
            if (rootDirectory != null) {
                return getCanonicalPath(rootDirectory);
            }
            return null;
        }
    
        @Nonnull
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ForwardingSortedMultiset.java

      @CheckForNull
      protected Entry<E> standardFirstEntry() {
        Iterator<Entry<E>> entryIterator = entrySet().iterator();
        if (!entryIterator.hasNext()) {
          return null;
        }
        Entry<E> entry = entryIterator.next();
        return Multisets.immutableEntry(entry.getElement(), entry.getCount());
      }
    
      @Override
      @CheckForNull
      public Entry<E> lastEntry() {
        return delegate().lastEntry();
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Ordering.java

        Iterator<? extends T> it = iterable.iterator();
        if (it.hasNext()) {
          T prev = it.next();
          while (it.hasNext()) {
            T next = it.next();
            if (compare(prev, next) > 0) {
              return false;
            }
            prev = next;
          }
        }
        return true;
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbTransportImpl.java

                    CommonServerMessageBlockRequest next = chain.getNext();
                    if ( log.isTraceEnabled() ) {
                        log.trace(
                            String.format("%s costs %d avail %d (%s)", chain.getClass().getName(), cost, this.credits.availablePermits(), this.name));
                    }
                    if ( ( next == null || chain.allowChain(next) ) && totalSize + size < maxSize && this.credits.tryAcquire(cost) ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 18 23:47:00 UTC 2023
    - 67K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/io/CharSink.java

       * writeLines(lines, System.getProperty("line.separator"))}.
       *
       * @throws IOException if an I/O error occurs while writing to this sink
       * @since NEXT (but since 22.0 in the JRE flavor)
       */
      @SuppressWarnings("Java7ApiChecker")
      @IgnoreJRERequirement // Users will use this only if they're already using Stream.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/TreeBasedTable.java

          @CheckForNull
          protected C computeNext() {
            while (merged.hasNext()) {
              C next = merged.next();
              boolean duplicate = lastValue != null && comparator.compare(next, lastValue) == 0;
    
              // Keep looping till we find a non-duplicate value.
              if (!duplicate) {
                lastValue = next;
                return lastValue;
              }
            }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 11.5K bytes
    - Viewed (0)
Back to top