Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 37 of 37 for defined (0.19 sec)

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

       * created for them.
       */
      enum NoRecurse implements Feature<Void> {
        SUBMULTISET,
        DESCENDING;
    
        @Override
        public Set<Feature<? super Void>> getImpliedFeatures() {
          return Collections.emptySet();
        }
      }
    
      /** Two bounds (from and to) define how to build a subMultiset. */
      enum Bound {
        INCLUSIVE,
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 26 19:46:10 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/SetsTest.java

        verifySortedSetContents(set, SOME_ITERABLE, null);
      }
    
      public void testNewTreeSetFromIterableDerived() {
        Iterable<Derived> iterable = Arrays.asList(new Derived("foo"), new Derived("bar"));
        TreeSet<Derived> set = Sets.newTreeSet(iterable);
        assertThat(set).containsExactly(new Derived("bar"), new Derived("foo")).inOrder();
      }
    
      public void testNewTreeSetFromIterableNonGeneric() {
        Iterable<LegacyComparable> iterable =
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 47.8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/base/PreconditionsTest.java

      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      public void testNullPointers() {
        /*
         * Don't bother testing: Preconditions defines a bunch of methods that accept a template (or
         * even entire message) that simultaneously:
         *
         * - _shouldn't_ be null, so we don't annotate it with @Nullable
         *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:49:48 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/BiMapGenerators.java

    import com.google.common.collect.Maps;
    import java.util.Arrays;
    import java.util.Map;
    import java.util.Map.Entry;
    
    /**
     * Generators of various {@link com.google.common.collect.BiMap}s and derived collections.
     *
     * @author Jared Levy
     * @author Hayward Chan
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public class BiMapGenerators {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/SortedMapGenerators.java

    import com.google.common.collect.testing.TestStringSortedMapGenerator;
    import java.util.Arrays;
    import java.util.List;
    import java.util.Map.Entry;
    import java.util.SortedMap;
    
    /**
     * Generators of sorted maps and derived collections.
     *
     * @author Kevin Bourrillion
     * @author Jesse Wilson
     * @author Jared Levy
     * @author Hayward Chan
     * @author Chris Povirk
     * @author Louis Wasserman
     */
    @GwtCompatible
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 26 19:46:10 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/SortedMapTestSuiteBuilder.java

            : SetTestSuiteBuilder.using(keySetGenerator);
      }
    
      /**
       * To avoid infinite recursion, test suites with these marker features won't have derived suites
       * created for them.
       */
      enum NoRecurse implements Feature<@Nullable Void> {
        SUBMAP,
        DESCENDING;
    
        @Override
        public Set<Feature<? super @Nullable Void>> getImpliedFeatures() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 26 19:46:10 UTC 2024
    - 5K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java

        E duplicate = elements[(elements.length / 2) - 1];
        elements[(elements.length / 2) + 1] = duplicate;
        return new ArrayWithDuplicate<>(elements, duplicate);
      }
    
      // Helper methods to improve readability of derived classes
    
      protected int getNumElements() {
        return getSubjectGenerator().getCollectionSize().getNumElements();
      }
    
      protected Collection<E> getSampleElements(int howMany) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 8.7K bytes
    - Viewed (0)
Back to top