Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,313 for Collection (0.11 sec)

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

      public void testEntrySetEquals() {
        resetContainer(mapEntry(k0(), v0()), mapEntry(k1(), v0()), mapEntry(k0(), v3()));
        Set<Entry<K, Collection<V>>> expected = newHashSet();
        expected.add(mapEntry(k0(), (Collection<V>) Lists.newArrayList(v0(), v3())));
        expected.add(mapEntry(k1(), (Collection<V>) Lists.newArrayList(v0())));
        new EqualsTester().addEqualityGroup(expected, multimap().asMap().entrySet()).testEquals();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionToArrayTester.java

      public void testToArray_noArgs() {
        Object[] array = collection.toArray();
        expectArrayContentsAnyOrder(createSamplesArray(), array);
      }
    
      /**
       * {@link Collection#toArray(Object[])} says: "Note that {@code toArray(new Object[0])} is
       * identical in function to {@code toArray()}."
       *
       * <p>For maximum effect, the collection under test should be created from an element array of a
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/es/config/cbean/cq/bs/BsElevateWordToLabelCQ.java

            not(not -> not.setId_Term(id), opLambda);
        }
    
        public void setId_Terms(Collection<String> idList) {
            setId_Terms(idList, null);
        }
    
        public void setId_Terms(Collection<String> idList, ConditionOptionCall<IdsQueryBuilder> opLambda) {
            IdsQueryBuilder builder = regIdsQ(idList);
            if (opLambda != null) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/collection/CollectionsUtilTest.java

         * .
         */
        @Test
        public void testIsNotEmptyCollectionOfQ() {
            final Collection<String> c = new ArrayList<String>();
            c.add("hoge");
            assertThat(CollectionsUtil.isNotEmpty(c), is(true));
        }
    
        /**
         * Test method for
         * {@link org.codelibs.core.collection.CollectionsUtil#isEmpty(java.util.Map)}
         * .
         */
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/CollectionTestSuiteBuilder.java

        final OneSizeTestContainerGenerator<Collection<E>, E> gen;
    
        private ReserializedCollectionGenerator(OneSizeTestContainerGenerator<Collection<E>, E> gen) {
          this.gen = gen;
        }
    
        @Override
        public SampleElements<E> samples() {
          return gen.samples();
        }
    
        @Override
        public Collection<E> create(Object... elements) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Aug 18 22:49:45 UTC 2021
    - 3.6K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/QueueTestSuiteBuilder.java

      }
    
      private boolean runCollectionTests = true;
    
      /**
       * Specify whether to skip the general collection tests. Call this method when testing a
       * collection that's both a queue and a list, to avoid running the common collection tests twice.
       * By default, collection tests do run.
       */
      @CanIgnoreReturnValue
      public QueueTestSuiteBuilder<E> skipCollectionTests() {
        runCollectionTests = false;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Feb 26 19:46:10 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  7. build-logic/documentation/src/test/groovy/gradlebuild/docs/FindBrokenInternalLinksTest.groovy

            """
    
            when:
            run('checkDeadInternalLinks').buildAndFail()
    
            then:
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Aug 21 08:08:05 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/ListRetainAllTester.java

      public void testRetainAll_duplicatesKept() {
        E[] array = createSamplesArray();
        array[1] = e0();
        collection = getSubjectGenerator().create(array);
        assertFalse(
            "containsDuplicates.retainAll(superset) should return false",
            collection.retainAll(MinimalCollection.of(createSamplesArray())));
        expectContents(array);
      }
    
      @CollectionFeature.Require(SUPPORTS_REMOVE)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/SynchronizedDequeTest.java

        }
    
        @Override
        public boolean containsAll(Collection<?> collection) {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.containsAll(collection);
        }
    
        @Override
        public boolean addAll(Collection<? extends E> collection) {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.addAll(collection);
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 06 17:23:04 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/SortedSetMultimap.java

        extends SetMultimap<K, V> {
      // Following Javadoc copied from Multimap.
    
      /**
       * Returns a collection view of all values associated with a key. If no mappings in the multimap
       * have the provided key, an empty collection is returned.
       *
       * <p>Changes to the returned collection will update the underlying multimap, and vice versa.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 24 17:47:51 UTC 2022
    - 5.3K bytes
    - Viewed (0)
Back to top