Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 48 for mane (0.18 sec)

  1. guava-testlib/src/com/google/common/collect/testing/MinimalIterable.java

     * #iterator()} method after the first, and whose iterator is always unmodifiable.
     *
     * <p>The {@code Iterable} specification does not make it absolutely clear what should happen on a
     * second invocation, so implementors have made various choices, including:
     *
     * <ul>
     *   <li>returning the same iterator again
     *   <li>throwing an exception of some kind
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetIteratorTester.java

    import java.lang.reflect.Method;
    import java.util.Arrays;
    import java.util.Iterator;
    import java.util.List;
    import org.checkerframework.checker.nullness.qual.Nullable;
    import org.junit.Ignore;
    
    /**
     * Tester to make sure the {@code iterator().remove()} implementation of {@code Multiset} works when
     * there are multiple occurrences of elements.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible(emulated = true)
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/Predicate.java

     * java.util.function.Predicate} is expected, use the method reference {@code
     * guavaPredicate::apply}. For the other direction, use {@code javaUtilPredicate::test}. A future
     * version of this interface will be made to <i>extend</i> {@code java.util.function.Predicate}, so
     * that conversion will be necessary in only one direction. At that time, this interface will be
     * officially discouraged.
     *
     * @author Kevin Bourrillion
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/EnumMultisetTest.java

                : EnumMultiset.create(asList(elements));
          }
        };
      }
    
      private enum Color {
        BLUE,
        RED,
        YELLOW,
        GREEN,
        WHITE
      }
    
      private enum Gender {
        MALE,
        FEMALE
      }
    
      public void testClassCreate() {
        Multiset<Color> ms = EnumMultiset.create(Color.class);
        ms.add(Color.RED);
        ms.add(Color.YELLOW);
        ms.add(Color.RED);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 26 16:35:21 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveAllTester.java

        initCollectionWithNullElement();
        assertTrue(
            "removeAll(containsNull) should return true",
            collection.removeAll(Collections.singleton(null)));
        // TODO: make this work with MinimalCollection
      }
    
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      public void testRemoveAll_containsWrongType() {
        try {
          assertFalse(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  6. android/guava/pom.xml

      </dependencies>
      <build>
        <resources>
          <resource>
            <directory>..</directory>
            <includes>
              <include>LICENSE</include> <!-- copied from the parent pom because I couldn't figure out a way to make combine.children="append" work -->
              <include>proguard/*</include>
            </includes>
            <targetPath>META-INF</targetPath>
          </resource>
        </resources>
        <plugins>
          <plugin>
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Mar 11 16:37:45 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/RegularContiguousSet.java

          if (this.domain.equals(that.domain)) {
            return this.first().equals(that.first()) && this.last().equals(that.last());
          }
        }
        return super.equals(object);
      }
    
      // copied to make sure not to use the GWT-emulated version
      @Override
      public int hashCode() {
        return Sets.hashCodeImpl(this);
      }
    
      @GwtIncompatible // serialization
      @J2ktIncompatible
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/MinimalIterable.java

     * #iterator()} method after the first, and whose iterator is always unmodifiable.
     *
     * <p>The {@code Iterable} specification does not make it absolutely clear what should happen on a
     * second invocation, so implementors have made various choices, including:
     *
     * <ul>
     *   <li>returning the same iterator again
     *   <li>throwing an exception of some kind
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/LazyLogger.java

         * to avoid the extra class for the lambda (and maybe more for memoizingSupplier itself) and the
         * indirection.
         *
         * One thing to *avoid* is a change to make each Logger user use memoizingSupplier directly:
         * That may introduce an extra class for each lambda (currently a dozen).
         */
        Logger local = logger;
        if (local != null) {
          return local;
        }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Dec 13 19:45:20 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/ReserializingTestCollectionGenerator.java

    import java.io.ObjectInputStream;
    import java.io.ObjectOutputStream;
    import java.util.Collection;
    import java.util.List;
    
    /**
     * Reserializes the sets created by another test set generator.
     *
     * <p>TODO: make CollectionTestSuiteBuilder test reserialized collections
     *
     * @author Jesse Wilson
     */
    @GwtIncompatible
    public class ReserializingTestCollectionGenerator<E> implements TestCollectionGenerator<E> {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 2.4K bytes
    - Viewed (0)
Back to top