Search Options

Results per page
Sort
Preferred Languages
Advance

Results 421 - 430 of 581 for Iterator$ (0.09 sec)

  1. android/guava-tests/test/com/google/common/collect/ConcurrentHashMultisetTest.java

        multiset = ConcurrentHashMultiset.create();
    
        multiset.add(KEY);
        multiset.add(KEY + "_2");
        multiset.add(KEY);
    
        int mutations = 0;
        for (Iterator<String> it = multiset.iterator(); it.hasNext(); ) {
          it.next();
          it.remove();
          mutations++;
        }
        assertTrue(multiset.isEmpty());
        assertEquals(3, mutations);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/math/Stats.java

      }
    
      /**
       * Returns statistics over a dataset containing the given values. The iterator will be completely
       * consumed by this method.
       *
       * @param values a series of values, which will be converted to {@code double} values (this may
       *     cause loss of precision)
       */
      public static Stats of(Iterator<? extends Number> values) {
        StatsAccumulator accumulator = new StatsAccumulator();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 23 16:45:30 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  3. guava/src/com/google/common/graph/IncidentEdgeSet.java

    import java.util.AbstractSet;
    import java.util.Set;
    import javax.annotation.CheckForNull;
    
    /**
     * Abstract base class for an incident edges set that allows different implementations of {@link
     * AbstractSet#iterator()}.
     */
    @ElementTypesAreNonnullByDefault
    abstract class IncidentEdgeSet<N> extends AbstractSet<EndpointPair<N>> {
      final N node;
      final BaseGraph<N> graph;
    
      IncidentEdgeSet(BaseGraph<N> graph, N node) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 2.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/graph/IncidentEdgeSet.java

    import java.util.AbstractSet;
    import java.util.Set;
    import javax.annotation.CheckForNull;
    
    /**
     * Abstract base class for an incident edges set that allows different implementations of {@link
     * AbstractSet#iterator()}.
     */
    @ElementTypesAreNonnullByDefault
    abstract class IncidentEdgeSet<N> extends AbstractSet<EndpointPair<N>> {
      final N node;
      final BaseGraph<N> graph;
    
      IncidentEdgeSet(BaseGraph<N> graph, N node) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 2.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/es/log/allcommon/EsAbstractBehavior.java

                return parent.isEmpty();
            }
    
            public boolean contains(final Object o) {
                return parent.contains(o);
            }
    
            public Iterator<E> iterator() {
                return parent.iterator();
            }
    
            public Object[] toArray() {
                return parent.toArray();
            }
    
            public <T> T[] toArray(final T[] a) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 26.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/es/config/allcommon/EsAbstractBehavior.java

                return parent.isEmpty();
            }
    
            public boolean contains(final Object o) {
                return parent.contains(o);
            }
    
            public Iterator<E> iterator() {
                return parent.iterator();
            }
    
            public Object[] toArray() {
                return parent.toArray();
            }
    
            public <T> T[] toArray(final T[] a) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 26.4K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/LinkedHashMultiset.java

    import java.io.ObjectOutputStream;
    import java.util.LinkedHashMap;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A {@code Multiset} implementation with predictable iteration order. Its iterator orders elements
     * according to when the first occurrence of the element was added. When the multiset contains
     * multiple instances of an element, those instances are consecutive in the iteration order. If all
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 4K bytes
    - Viewed (0)
  8. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/MappingTables.kt

     * a single section.
     */
    internal fun withoutSectionSpans(mappings: List<Mapping>): List<Mapping> {
      val result = mutableListOf<Mapping>()
    
      val i = mappings.iterator()
      var current = i.next()
    
      while (true) {
        if (current.spansSections) {
          result +=
            Mapping(
              current.sourceCodePoint0,
              current.section + 0x7f,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/io/MoreFilesTest.java

        suite.addTestSuite(MoreFilesTest.class);
        return suite;
      }
    
      private static final FileSystem FS = FileSystems.getDefault();
    
      private static Path root() {
        return FS.getRootDirectories().iterator().next();
      }
    
      private Path tempDir;
    
      @Override
      protected void setUp() throws Exception {
        tempDir = Files.createTempDirectory("MoreFilesTest");
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/math/StatsAccumulatorTest.java

        // For datasets of many double values created from an iterator, we test many combinations of
        // finite and non-finite values:
        for (ManyValues values : ALL_MANY_VALUES) {
          StatsAccumulator accumulator = new StatsAccumulator();
          StatsAccumulator accumulatorByAddAllStats = new StatsAccumulator();
          accumulator.addAll(values.asIterable().iterator());
          for (double value : values.asIterable()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 23 16:45:30 UTC 2024
    - 36.8K bytes
    - Viewed (0)
Back to top