Search Options

Results per page
Sort
Preferred Languages
Advance

Results 411 - 420 of 651 for iterators (0.06 sec)

  1. 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. docs/select/README.md

    ## 6. Implementation Status
    
    - Full AWS S3 [SELECT SQL](https://docs.aws.amazon.com/AmazonS3/latest/dev/s3-glacier-select-sql-reference-select.html) syntax is supported.
    - All [operators](https://docs.aws.amazon.com/AmazonS3/latest/dev/s3-glacier-select-sql-reference-operators.html) are supported.
    - All aggregation, conditional, type-conversion and string functions are supported.
    - JSON path expressions such as `FROM S3Object[*].path` are not yet evaluated.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 29 04:28:45 UTC 2022
    - 6.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/convert/DateConversionUtil.java

                }
            }
            return new String(buf);
        }
    
        /**
         * ロケールが持つスタイルに対応する{@link DateFormat}を反復する{@link Iterator}です。
         *
         * @author koichik
         */
        protected static class DateFormatIterator implements Iterator<DateFormat> {
    
            /** ロケール */
            protected final Locale locale;
    
            /** 現在のスタイルを示すインデックス */
            protected int index;
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  4. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java

            return new AbstractSet<>() {
                @Override
                public Iterator<Entry<String, String>> iterator() {
                    return new Iterator<>() {
                        final Iterator<Entry<String, String>> keyIterator =
                                storage.entrySet().iterator();
    
                        public boolean hasNext() {
                            return keyIterator.hasNext();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 38.2K bytes
    - Viewed (0)
  5. guava/src/com/google/common/hash/SipHashFunction.java

       * @param k1 the second half of the key
       */
      SipHashFunction(int c, int d, long k0, long k1) {
        checkArgument(
            c > 0, "The number of SipRound iterations (c=%s) during Compression must be positive.", c);
        checkArgument(
            d > 0, "The number of SipRound iterations (d=%s) during Finalization must be positive.", d);
        this.c = c;
        this.d = d;
        this.k0 = k0;
        this.k1 = k1;
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 20 18:43:59 UTC 2021
    - 5.3K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/math/DoubleMathTest.java

        assertThat(DoubleMath.mean(ImmutableList.of(11, -22, 44, -88).iterator()))
            .isWithin(1.0e-10)
            .of(-13.75);
        assertThat(DoubleMath.mean(ImmutableList.of(11).iterator())).isWithin(1.0e-10).of(11);
        assertThrows(
            IllegalArgumentException.class,
            () -> DoubleMath.mean(ImmutableList.<Integer>of().iterator()));
      }
    
      @GwtIncompatible // DoubleMath.mean
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 27.3K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/testers/NavigableSetNavigationTester.java

    import com.google.common.collect.testing.features.CollectionSize;
    import java.lang.reflect.Method;
    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.Iterator;
    import java.util.List;
    import java.util.NavigableSet;
    import java.util.TreeSet;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests operations on a NavigableSet. Can't be invoked directly; please
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  8. compat/maven-compat/src/test/java/org/apache/maven/project/artifact/MavenMetadataSourceTest.java

            MavenProject project = new MavenProject( new Model() );
    
            Set<Artifact> result = project.createArtifacts( dependencyFilter );
    
            for (Iterator<Artifact> it = result.iterator(); it.hasNext(); )
            {
                Artifact artifact = it.next();
    
                if ( "test-artifact2".equals( artifact.getArtifactId() ) )
                {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ImmutableList.java

            return new RegularImmutableList<>(elementsWithoutTrailingNulls);
        }
      }
    
      ImmutableList() {}
    
      // This declaration is needed to make List.iterator() and
      // ImmutableCollection.iterator() consistent.
      @Override
      public UnmodifiableIterator<E> iterator() {
        return listIterator();
      }
    
      @Override
      public UnmodifiableListIterator<E> listIterator() {
        return listIterator(0);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 16 19:14:45 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/DerivedGenerator.java

     */
    
    package com.google.common.collect.testing;
    
    import com.google.common.annotations.GwtCompatible;
    
    /**
     * A generator that relies on a preexisting generator for most of its work. For example, a derived
     * iterator generator may delegate the work of creating the underlying collection to an inner
     * collection generator.
     *
     * <p>{@code GwtTestSuiteGenerator} expects every {@code DerivedIterator} implementation to provide
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 1.3K bytes
    - Viewed (0)
Back to top