Search Options

Results per page
Sort
Preferred Languages
Advance

Results 691 - 700 of 914 for iterate (0.1 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/ListListIteratorTester.java

            IndexOutOfBoundsException.class, () -> getList().listIterator(getNumElements() + 1));
      }
    
      public void testListIterator_atSize() {
        getList().listIterator(getNumElements());
        // TODO: run the iterator through ListIteratorTester
      }
    
      /**
       * Returns the {@link Method} instance for {@link #testListIterator_fullyModifiable()} so that
       * tests of {@link CopyOnWriteArraySet} can suppress it with {@code
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/NullnessCasts.java

       * never use this method, preferring instead to call {@code requireNonNull} so as to benefit from
       * its runtime check.
       *
       * <p>An example use case for this method is in implementing an {@code Iterator<T>} whose {@code
       * next} field is lazily initialized. The type of that field would be {@code @Nullable T}, and the
       * code would be responsible for populating a "real" {@code T} (which might still be the value
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 10 20:36:34 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/NullnessCasts.java

       * never use this method, preferring instead to call {@code requireNonNull} so as to benefit from
       * its runtime check.
       *
       * <p>An example use case for this method is in implementing an {@code Iterator<T>} whose {@code
       * next} field is lazily initialized. The type of that field would be {@code @Nullable T}, and the
       * code would be responsible for populating a "real" {@code T} (which might still be the value
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 10 20:36:34 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/TestInputStream.java

      private boolean closed;
    
      public TestInputStream(InputStream in, TestOption... options) throws IOException {
        this(in, Arrays.asList(options));
      }
    
      public TestInputStream(InputStream in, Iterable<TestOption> options) throws IOException {
        super(checkNotNull(in));
        this.options = ImmutableSet.copyOf(options);
        throwIf(OPEN_THROWS);
      }
    
      public boolean closed() {
        return closed;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.5K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableMapKeySet.java

      ImmutableMapKeySet(ImmutableMap<K, V> map) {
        this.map = map;
      }
    
      @Override
      public int size() {
        return map.size();
      }
    
      @Override
      public UnmodifiableIterator<K> iterator() {
        return map.keyIterator();
      }
    
      @Override
      public Spliterator<K> spliterator() {
        return map.keySpliterator();
      }
    
      @Override
      public boolean contains(@CheckForNull Object object) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

     *
     * <h4>Combining</h4>
     *
     * To derive a {@code ClosingFuture} from two or more input steps, pass the input steps to {@link
     * #whenAllComplete(Iterable)} or {@link #whenAllSucceed(Iterable)} or its overloads.
     *
     * <h3>Cancelling</h3>
     *
     * Any step in a pipeline can be {@linkplain #cancel(boolean) cancelled}, even after another step
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 08 19:36:35 UTC 2024
    - 98.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/EmptyImmutableTableTest.java

    @ElementTypesAreNonnullByDefault
    public class EmptyImmutableTableTest extends AbstractImmutableTableTest {
      private static final ImmutableTable<Character, Integer, String> INSTANCE = ImmutableTable.of();
    
      @Override
      Iterable<ImmutableTable<Character, Integer, String>> getTestInstances() {
        return ImmutableSet.of(INSTANCE);
      }
    
      public void testHashCode() {
        assertEquals(0, INSTANCE.hashCode());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Feb 19 20:34:55 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/MethodTableRenderer.java

    package gradlebuild.docs.dsl.docbook;
    
    import gradlebuild.docs.dsl.docbook.model.MethodDoc;
    import org.w3c.dom.Document;
    import org.w3c.dom.Element;
    
    public class MethodTableRenderer {
        public void renderTo(Iterable<MethodDoc> methods, Element parent) {
            Document document = parent.getOwnerDocument();
    
            // <thead>
            //   <tr>
            //     <td>Method</td>
            //     <td>Description</td>
            //   </tr>
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 3.3K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/DefaultMaven.java

            Result<? extends ProjectDependencyGraph> graphResult = buildGraph(session);
    
            if (graphResult.hasErrors()) {
                return addExceptionToResult(
                        result, graphResult.getProblems().iterator().next().getException());
            }
    
            try {
                session.setProjectMap(getProjectMap(session.getProjects()));
            } catch (DuplicateProjectException e) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 27.5K bytes
    - Viewed (1)
  10. okhttp/src/main/kotlin/okhttp3/internal/tls/BasicCertificateChainCleaner.kt

            continue
          }
    
          // Search for the certificate in the chain that signed this certificate. This is typically
          // the next element in the chain, but it could be any element.
          val i = queue.iterator()
          while (i.hasNext()) {
            val signingCert = i.next() as X509Certificate
            if (verifySignature(toVerify, signingCert, result.size - 1)) {
              i.remove()
              result.add(signingCert)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.8K bytes
    - Viewed (0)
Back to top