Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 658 for helpers (0.1 sec)

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

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.collect.testing;
    
    import static com.google.common.collect.testing.Helpers.entryComparator;
    import static java.lang.Math.max;
    import static java.util.Arrays.asList;
    import static java.util.Collections.singletonMap;
    import static java.util.Collections.sort;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/Helpers.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.collect.testing;
    
    import static com.google.common.collect.testing.Helpers.entryComparator;
    import static java.lang.Math.max;
    import static java.util.Arrays.asList;
    import static java.util.Collections.singletonMap;
    import static java.util.Collections.sort;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/SortedMapNavigationTester.java

     * limitations under the License.
     */
    
    package com.google.common.collect.testing.testers;
    
    import static com.google.common.collect.testing.Helpers.assertEqualInOrder;
    import static com.google.common.collect.testing.Helpers.copyToList;
    import static com.google.common.collect.testing.features.CollectionSize.ONE;
    import static com.google.common.collect.testing.features.CollectionSize.SEVERAL;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/testers/MapForEachTester.java

    import static java.util.Arrays.asList;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.testing.AbstractMapTester;
    import com.google.common.collect.testing.Helpers;
    import com.google.common.collect.testing.features.CollectionFeature;
    import com.google.common.collect.testing.features.CollectionSize;
    import com.google.common.collect.testing.features.MapFeature;
    import java.util.ArrayList;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionForEachTester.java

        List<E> elements = new ArrayList<>();
        collection.forEach(elements::add);
        Helpers.assertEqualIgnoringOrder(asList(createSamplesArray()), elements);
      }
    
      @CollectionFeature.Require(KNOWN_ORDER)
      public void testForEachKnownOrder() {
        List<E> elements = new ArrayList<>();
        collection.forEach(elements::add);
        List<E> expected = Helpers.copyToList(getOrderedElements());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionSpliteratorTester.java

      public static Method getSpliteratorNotImmutableCollectionAllowsAddMethod() {
        return Helpers.getMethod(
            CollectionSpliteratorTester.class, "testSpliteratorNotImmutable_collectionAllowsAdd");
      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getSpliteratorNotImmutableCollectionAllowsRemoveMethod() {
        return Helpers.getMethod(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapRemoveAllTester.java

     * limitations under the License.
     */
    
    package com.google.common.collect.testing.google;
    
    import static com.google.common.collect.testing.Helpers.assertContentsAnyOrder;
    import static com.google.common.collect.testing.Helpers.assertEmpty;
    import static com.google.common.collect.testing.Helpers.mapEntry;
    import static com.google.common.collect.testing.features.CollectionSize.SEVERAL;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  8. android/guava-testlib/test/com/google/common/collect/testing/HelpersTest.java

    import static com.google.common.collect.testing.Helpers.NullsBeforeB;
    import static com.google.common.collect.testing.Helpers.assertContains;
    import static com.google.common.collect.testing.Helpers.assertContainsAllOf;
    import static com.google.common.collect.testing.Helpers.assertContentsInOrder;
    import static com.google.common.collect.testing.Helpers.assertEmpty;
    import static com.google.common.collect.testing.Helpers.assertEqualInOrder;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  9. guava-testlib/test/com/google/common/collect/testing/HelpersTest.java

    import static com.google.common.collect.testing.Helpers.NullsBeforeB;
    import static com.google.common.collect.testing.Helpers.assertContains;
    import static com.google.common.collect.testing.Helpers.assertContainsAllOf;
    import static com.google.common.collect.testing.Helpers.assertContentsInOrder;
    import static com.google.common.collect.testing.Helpers.assertEmpty;
    import static com.google.common.collect.testing.Helpers.assertEqualInOrder;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

            throw PermittedMetaException.ISE;
          }
        }
    
        private List<E> getElements() {
          List<E> elements = new ArrayList<>();
          Helpers.addAll(elements, previousElements);
          Helpers.addAll(elements, Helpers.reverse(nextElements));
          return elements;
        }
      }
    
      public enum KnownOrder {
        KNOWN_ORDER,
        UNKNOWN_ORDER
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 20.6K bytes
    - Viewed (0)
Back to top