Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 300 for Younis (0.24 sec)

  1. guava-tests/test/com/google/common/collect/CountTest.java

     */
    
    package com.google.common.collect;
    
    import com.google.common.annotations.GwtCompatible;
    import junit.framework.TestCase;
    
    /**
     * Tests for {@code Count}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public class CountTest extends TestCase {
      public void testGet() {
        assertEquals(20, new Count(20).get());
      }
    
      public void testGetAndAdd() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/TopKSelectorTest.java

    import java.math.RoundingMode;
    import java.util.Collections;
    import java.util.Comparator;
    import java.util.List;
    import junit.framework.TestCase;
    
    /**
     * Tests for {@code TopKSelector}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    public class TopKSelectorTest extends TestCase {
    
      public void testNegativeK() {
        try {
          TopKSelector.<String>least(-1);
          fail();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/ListMultimapAsMapTester.java

    import java.util.Set;
    import org.checkerframework.checker.nullness.qual.Nullable;
    import org.junit.Ignore;
    
    /**
     * Testers for {@link com.google.common.collect.ListMultimap#asMap}.
     *
     * @author Louis Wasserman
     * @param <K> The key type of the tested multimap.
     * @param <V> The value type of the tested multimap.
     */
    @GwtCompatible
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapReplaceTester.java

    /**
     * A generic JUnit test which tests {@code replace(K, V)} operations on a concurrent map. Can't be
     * invoked directly; please see {@link
     * com.google.common.collect.testing.ConcurrentMapTestSuiteBuilder}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/TestMultimapGenerator.java

    import java.util.Collection;
    import java.util.Map.Entry;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Creates multimaps, containing sample elements, to be tested.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public interface TestMultimapGenerator<
            K extends @Nullable Object, V extends @Nullable Object, M extends Multimap<K, V>>
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/math/IntMath.java

        }
        int div = p / q;
        int rem = p - q * div; // equal to p % q
    
        if (rem == 0) {
          return div;
        }
    
        /*
         * Normal Java division rounds towards 0, consistently with RoundingMode.DOWN. We just have to
         * deal with the cases where rounding towards 0 is wrong, which typically depends on the sign of
         * p / q.
         *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 23.5K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/testers/SortedSetNavigationTester.java

    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests operations on a SortedSet. Can't be invoked directly; please see
     * {@code SortedSetTestSuiteBuilder}.
     *
     * @author Jesse Wilson
     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/BiMapRemoveTester.java

    import com.google.common.collect.testing.features.MapFeature;
    import java.util.Iterator;
    import org.junit.Ignore;
    
    /**
     * Tester for {@code BiMap.remove}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    public class BiMapRemoveTester<K, V> extends AbstractBiMapTester<K, V> {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 3K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/google/BiMapRemoveTester.java

    import com.google.common.collect.testing.features.MapFeature;
    import java.util.Iterator;
    import org.junit.Ignore;
    
    /**
     * Tester for {@code BiMap.remove}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    public class BiMapRemoveTester<K, V> extends AbstractBiMapTester<K, V> {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 3K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/google/ListMultimapReplaceValuesTester.java

    import java.util.Arrays;
    import java.util.List;
    import org.junit.Ignore;
    
    /**
     * Testers for {@link ListMultimap#replaceValues(Object, Iterable)}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    public class ListMultimapReplaceValuesTester<K, V> extends AbstractListMultimapTester<K, V> {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 1.6K bytes
    - Viewed (0)
Back to top