Search Options

Results per page
Sort
Preferred Languages
Advance

Results 341 - 350 of 722 for Iterator (0.13 sec)

  1. guava/src/com/google/common/base/AbstractIterator.java

    import static com.google.common.base.Preconditions.checkState;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.util.Iterator;
    import java.util.NoSuchElementException;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jul 09 17:31:04 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  2. okhttp-android/src/main/baseline-prof.txt

    HSPLkotlin/sequences/ConstrainedOnceSequence;->iterator()Ljava/util/Iterator;
    HSPLkotlin/sequences/SequencesKt;->toList(Lkotlin/sequences/Sequence;)Ljava/util/List;
    HSPLkotlin/sequences/SequencesKt__SequencesKt$asSequence$$inlined$Sequence$1;-><init>(Ljava/util/Iterator;)V
    HSPLkotlin/sequences/SequencesKt__SequencesKt$asSequence$$inlined$Sequence$1;->iterator()Ljava/util/Iterator;
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Mar 21 11:22:00 UTC 2022
    - 127.9K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/CollectPreconditions.java

      static void checkPositive(int value, String name) {
        if (value <= 0) {
          throw new IllegalArgumentException(name + " must be positive but was: " + value);
        }
      }
    
      /**
       * Precondition tester for {@code Iterator.remove()} that throws an exception with a consistent
       * error message.
       */
      static void checkRemove(boolean canRemove) {
        checkState(canRemove, "no calls to next() since the last call to remove()");
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 30 10:33:07 UTC 2021
    - 2.1K bytes
    - Viewed (0)
  4. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedMap.java

      }
    
      @CheckForNull
      public K lastKey() {
        return sortedDelegate.lastKey();
      }
    
      @CheckForNull
      K higher(K k) {
        Iterator<K> iterator = keySet().tailSet(k).iterator();
        while (iterator.hasNext()) {
          K tmp = iterator.next();
          if (comparator().compare(k, tmp) < 0) {
            return tmp;
          }
        }
        return null;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 27 19:19:19 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  5. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableList.java

        checkNotNull(elements); // for GWT
        return (elements instanceof Collection)
            ? copyOf((Collection<? extends E>) elements)
            : copyOf(elements.iterator());
      }
    
      public static <E> ImmutableList<E> copyOf(Iterator<? extends E> elements) {
        return copyFromCollection(Lists.newArrayList(elements));
      }
    
      public static <E> ImmutableList<E> copyOf(Collection<? extends E> elements) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 14 22:14:46 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/DescendingImmutableSortedSet.java

        return forward.contains(object);
      }
    
      @Override
      public int size() {
        return forward.size();
      }
    
      @Override
      public UnmodifiableIterator<E> iterator() {
        return forward.descendingIterator();
      }
    
      @Override
      ImmutableSortedSet<E> headSetImpl(E toElement, boolean inclusive) {
        return forward.tailSet(toElement, inclusive).descendingSet();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  7. compat/maven-compat/src/test/java/org/apache/maven/ProjectDependenciesResolverTest.java

            artifactDependencies = resolver.resolve( project, Collections.singleton( Artifact.SCOPE_RUNTIME ), session );
            assertEquals( 1, artifactDependencies.size() );
            assertEquals( "b", artifactDependencies.iterator().next().getArtifactId() );
        }
        */
    
        @Test
        void testSystemScopeDependencies() throws Exception {
            MavenSession session = createMavenSession(null);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  8. guava/src/com/google/common/graph/StandardValueGraph.java

        GraphConnections<N, V> connections = checkedConnections(node);
        IncidentEdgeSet<N> incident =
            new IncidentEdgeSet<N>(this, node) {
              @Override
              public Iterator<EndpointPair<N>> iterator() {
                return connections.incidentEdgeIterator(node);
              }
            };
        return nodeInvalidatableSet(incident, node);
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/mdo/paramdoc.mdo

                java.util.List expressions = getExpressions();
    
                if ( expressions != null && !expressions.isEmpty() )
                {
                    for ( java.util.Iterator it = expressions.iterator(); it.hasNext(); )
                    {
                        Expression expr = (Expression) it.next();
    
                        expressionsBySyntax.put( expr.getSyntax(), expr );
                    }
                }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/graph/AbstractDirectedNetworkConnections.java

          @Override
          public UnmodifiableIterator<E> iterator() {
            Iterable<E> incidentEdges =
                (selfLoopCount == 0)
                    ? Iterables.concat(inEdgeMap.keySet(), outEdgeMap.keySet())
                    : Sets.union(inEdgeMap.keySet(), outEdgeMap.keySet());
            return Iterators.unmodifiableIterator(incidentEdges.iterator());
          }
    
          @Override
          public int size() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 4.5K bytes
    - Viewed (0)
Back to top