Search Options

Results per page
Sort
Preferred Languages
Advance

Results 691 - 700 of 863 for collectors (0.09 sec)

  1. android/guava-tests/test/com/google/common/primitives/BytesTest.java

    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.collect.testing.Helpers;
    import com.google.common.testing.NullPointerTester;
    import java.util.Arrays;
    import java.util.Collection;
    import java.util.Collections;
    import java.util.List;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Unit test for {@link Bytes}.
     *
     * @author Kevin Bourrillion
     */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/graph/AbstractStandardDirectedNetworkTest.java

    import static org.junit.Assert.assertThrows;
    import static org.junit.Assert.assertTrue;
    import static org.junit.Assert.fail;
    
    import com.google.common.collect.ImmutableSet;
    import java.util.Collections;
    import java.util.Set;
    import org.junit.After;
    import org.junit.Test;
    
    /**
     * Abstract base class for testing directed {@link Network} implementations defined in this package.
     */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/graph/AbstractStandardDirectedNetworkTest.java

    import static org.junit.Assert.assertThrows;
    import static org.junit.Assert.assertTrue;
    import static org.junit.Assert.fail;
    
    import com.google.common.collect.ImmutableSet;
    import java.util.Collections;
    import java.util.Optional;
    import java.util.Set;
    import org.junit.After;
    import org.junit.Test;
    
    /**
     * Abstract base class for testing directed {@link Network} implementations defined in this package.
     */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/BiMapTestSuiteBuilder.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.collect.testing.google;
    
    import static java.util.Collections.emptySet;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.collect.BiMap;
    import com.google.common.collect.testing.AbstractTester;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapGetTester.java

    import static com.google.common.collect.testing.features.MapFeature.SUPPORTS_REMOVE;
    import static com.google.common.collect.testing.google.ReflectionFreeAssertThrows.assertThrows;
    import static java.util.Collections.singletonList;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.Multimap;
    import com.google.common.collect.testing.features.CollectionSize;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/reflect/MutableTypeToInstanceMap.java

            }
    
            @Override
            public Object[] toArray() {
              /*
               * standardToArray returns `@Nullable Object[]` rather than `Object[]` but only because it
               * can be used with collections that may contain null. This collection is a collection of
               * non-null Entry objects (Entry objects that might contain null values but are not
               * themselves null), so we can treat it as a plain `Object[]`.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 14 17:55:55 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/SortedMapTestSuiteBuilder.java

    package com.google.common.collect.testing;
    
    import static com.google.common.collect.testing.Helpers.copyToList;
    import static com.google.common.collect.testing.features.CollectionFeature.KNOWN_ORDER;
    import static java.util.Collections.emptySet;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.collect.testing.DerivedCollectionGenerators.Bound;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/google/MultimapEntriesTester.java

    import static com.google.common.collect.testing.features.MapFeature.ALLOWS_NULL_VALUE_QUERIES;
    import static com.google.common.collect.testing.features.MapFeature.SUPPORTS_REMOVE;
    import static java.util.Collections.singleton;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.Multimap;
    import com.google.common.collect.testing.features.CollectionFeature;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/eventbus/EventBusTest.java

        }
    
        @Override
        public void run() {
          StringCatcher catcher = new StringCatcher();
          bus.register(catcher);
          catchers.add(catcher);
        }
      }
    
      /**
       * A collector for DeadEvents.
       *
       * @author cbiffle
       */
      public static class GhostCatcher {
        private List<DeadEvent> events = Lists.newArrayList();
    
        @Subscribe
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:16:45 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/testers/ListSetTester.java

      private int aValidIndex() {
        return getList().size() / 2;
      }
    
      /**
       * Returns the {@link java.lang.reflect.Method} instance for {@link #testSet_null()} so that tests
       * of {@link java.util.Collections#checkedCollection(java.util.Collection, Class)} can suppress it
       * with {@code FeatureSpecificTestSuiteBuilder.suppressing()} until <a
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.2K bytes
    - Viewed (0)
Back to top