Search Options

Results per page
Sort
Preferred Languages
Advance

Results 401 - 410 of 1,613 for collections (0.08 sec)

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

     * limitations under the License.
     */
    
    package com.google.common.collect.testing.features;
    
    import static com.google.common.collect.testing.Helpers.copyToSet;
    import static java.util.Collections.disjoint;
    import static java.util.Collections.unmodifiableList;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.lang.annotation.Annotation;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 05 22:05:05 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java

    import static com.google.common.collect.testing.google.ReflectionFreeAssertThrows.assertThrows;
    import static java.util.Arrays.asList;
    import static java.util.Collections.nCopies;
    import static java.util.Collections.singletonList;
    import static java.util.Collections.sort;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.BoundType;
    import com.google.common.collect.Iterators;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/BenchmarkHelpers.java

     */
    
    package com.google.common.collect;
    
    import static com.google.common.base.Preconditions.checkState;
    import static java.util.Collections.synchronizedSet;
    import static java.util.Collections.unmodifiableSet;
    
    import com.google.common.base.Equivalence;
    import java.util.Collection;
    import java.util.HashSet;
    import java.util.LinkedHashSet;
    import java.util.Map;
    import java.util.Queue;
    import java.util.Random;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/UnhashableObject.java

    package com.google.common.collect.testing;
    
    import com.google.common.annotations.GwtCompatible;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * An unhashable object to be used in testing as values in our collections.
     *
     * @author Regina O'Dell
     */
    @GwtCompatible
    public class UnhashableObject implements Comparable<UnhashableObject> {
      private final int value;
    
      public UnhashableObject(int value) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Apr 20 11:19:03 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/CompactHashSet.java

       * collection in unspecified order.
       *
       * @param collection the elements that the set should contain
       * @return a new {@code CompactHashSet} containing those elements (minus duplicates)
       */
      public static <E extends @Nullable Object> CompactHashSet<E> create(
          Collection<? extends E> collection) {
        CompactHashSet<E> set = createWithExpectedSize(collection.size());
        set.addAll(collection);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 24K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/TestEnumMultisetGenerator.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.sort;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.Multiset;
    import com.google.common.collect.testing.AnEnum;
    import com.google.common.collect.testing.SampleElements;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  7. guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java

                    public boolean containsAll(Collection<?> c) {
                      return map.entrySet().containsAll(c);
                    }
    
                    @Override
                    public boolean removeAll(Collection<?> c) {
                      return map.entrySet().removeAll(c);
                    }
    
                    @Override
                    public boolean retainAll(Collection<?> c) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/MapGenerators.java

          implements TestMapGenerator<String, Collection<Integer>> {
    
        @Override
        public SampleElements<Entry<String, Collection<Integer>>> samples() {
          return new SampleElements<>(
              mapEntry("one", collectionOf(10000)),
              mapEntry("two", collectionOf(-2000)),
              mapEntry("three", collectionOf(300)),
              mapEntry("four", collectionOf(-40)),
              mapEntry("five", collectionOf(5)));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/DataIndexHelper.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.helper;
    
    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.List;
    
    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.core.lang.ThreadUtil;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 12K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

    import com.google.common.hash.HashTestUtils.RandomHasherAction;
    import java.io.ByteArrayOutputStream;
    import java.nio.ByteBuffer;
    import java.nio.ByteOrder;
    import java.util.Arrays;
    import java.util.Collections;
    import java.util.List;
    import java.util.Random;
    import junit.framework.TestCase;
    
    /**
     * Tests for AbstractStreamingHasher.
     *
     * @author Dimitris Andreou
     */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 8.5K bytes
    - Viewed (0)
Back to top