Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 453 for Iterable$ (0.16 sec)

  1. android/guava-tests/test/com/google/common/math/MathTesting.java

      static final Iterable<Double> INFINITIES =
          Doubles.asList(Double.POSITIVE_INFINITY, Double.NEGATIVE_INFINITY);
      static final Iterable<Double> FINITE_DOUBLE_CANDIDATES;
      static final Iterable<Double> POSITIVE_FINITE_DOUBLE_CANDIDATES;
      static final Iterable<Double> ALL_DOUBLE_CANDIDATES;
      static final Iterable<Double> DOUBLE_CANDIDATES_EXCEPT_NAN;
    
      static {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 11.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/IterablesTest.java

      }
    
      private void testGetOnAbc(Iterable<String> iterable) {
        try {
          Iterables.get(iterable, -1);
          fail();
        } catch (IndexOutOfBoundsException expected) {
        }
        assertEquals("a", Iterables.get(iterable, 0));
        assertEquals("b", Iterables.get(iterable, 1));
        assertEquals("c", Iterables.get(iterable, 2));
        try {
          Iterables.get(iterable, 3);
          fail();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 19:12:33 UTC 2024
    - 45K bytes
    - Viewed (0)
  3. guava-testlib/test/com/google/common/collect/testing/MinimalIterableTest.java

      public void testOf_empty() {
        Iterable<String> iterable = MinimalIterable.<String>of();
        Iterator<String> iterator = iterable.iterator();
        assertFalse(iterator.hasNext());
        assertThrows(NoSuchElementException.class, () -> iterator.next());
        assertThrows(IllegalStateException.class, () -> iterable.iterator());
      }
    
      public void testOf_one() {
        Iterable<String> iterable = MinimalIterable.of("a");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/reflect/TypeTokenSubtypeTest.java

        public Iterable<UseIterable<? extends Iterable<?>>>
            wildcardOfImplicitBoundedIsSubtypeOfWildcardOfExplicitlyBounded(
                List<UseIterable<?>> withImplicitBounds) {
          return isSubtype(withImplicitBounds);
        }
    
        @TestSubtype(suppressGetSupertype = true, suppressGetSubtype = true)
        public Iterable<UseSerializableIterable<? extends Iterable<?>>>
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 20.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/Ordering.java

          Iterable<? extends Comparator<? super T>> comparators) {
        return new CompoundOrdering<>(comparators);
      }
    
      /**
       * Returns a new ordering which sorts iterables by comparing corresponding elements pairwise until
       * a nonzero result is found; imposes "dictionary order". If the end of one iterable is reached,
       * but not the other, the shorter iterable is considered to be less than the longer one. For
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        @SuppressWarnings("rawtypes") // Iterable.class
        TypeToken<? extends Iterable> genericType = TypeToken.toGenericType(Iterable.class);
        assertEquals(Iterable.class, genericType.getRawType());
        assertEquals(
            Types.newParameterizedType(Iterable.class, Iterable.class.getTypeParameters()[0]),
            genericType.getType());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 21:13:09 UTC 2024
    - 89.1K bytes
    - Viewed (0)
  7. .teamcity/.mvn/wrapper/maven-wrapper.jar

    package org.apache.maven.wrapper.cli; public abstract synchronized class AbstractCommandLineC implements CommandLineConverter { public void AbstractCommandLineC(); public Object convert(Iterable) throws CommandLineArgumentE; public Object convert(ParsedCommandLine) throws CommandLineArgumentE; public Object convert(Iterable, Object) throws CommandLineArgumentE; protected abstract Object newInstance(); } org/apache/maven/wrapper/cli/AbstractPropertiesCo.class package org.apache.maven.wrapper.cli; public...
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Feb 26 01:48:39 UTC 2020
    - 49.5K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/IteratorTester.java

       */
      protected IteratorTester(
          int steps,
          Iterable<? extends IteratorFeature> features,
          Iterable<E> expectedElements,
          KnownOrder knownOrder) {
        super(steps, Collections.<E>singleton(null), features, expectedElements, knownOrder, 0);
      }
    
      @Override
      protected final Iterable<Stimulus<E, Iterator<E>>> getStimulusValues() {
        return iteratorStimuli();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Collections2.java

       *     original iterable.
       * @throws NullPointerException if the specified iterable is null or has any null elements.
       * @since 12.0
       */
      public static <E extends Comparable<? super E>> Collection<List<E>> orderedPermutations(
          Iterable<E> elements) {
        return orderedPermutations(elements, Ordering.natural());
      }
    
      /**
       * Returns a {@link Collection} of all the permutations of the specified {@link Iterable} using
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/PairwiseEquivalence.java

        implements Serializable {
      final Equivalence<E> elementEquivalence;
    
      PairwiseEquivalence(Equivalence<E> elementEquivalence) {
        this.elementEquivalence = Preconditions.checkNotNull(elementEquivalence);
      }
    
      @Override
      protected boolean doEquivalent(Iterable<T> iterableA, Iterable<T> iterableB) {
        Iterator<T> iteratorA = iterableA.iterator();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 23 15:09:35 UTC 2023
    - 2.4K bytes
    - Viewed (0)
Back to top