Search Options

Results per page
Sort
Preferred Languages
Advance

Results 351 - 360 of 1,740 for collection (0.06 sec)

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

    import java.util.Collection;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Creates collections, containing sample elements, to be tested.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public interface TestCollectionGenerator<E extends @Nullable Object>
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 1K bytes
    - Viewed (0)
  2. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingImmutableSet.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import java.util.Collection;
    import java.util.Collections;
    import java.util.Set;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * GWT implementation of {@link ImmutableSet} that forwards to another {@code Set} implementation.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jan 23 18:43:40 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/primitives/Longs.java

       *     to primitives
       * @throws NullPointerException if {@code collection} or any of its elements is null
       * @since 1.0 (parameter was {@code Collection<Long>} before 12.0)
       */
      public static long[] toArray(Collection<? extends Number> collection) {
        if (collection instanceof LongArrayAsList) {
          return ((LongArrayAsList) collection).toLongArray();
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 29.3K bytes
    - Viewed (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/model/ClassDoc.groovy

        }
    
        @Override
        String getReplacement() {
            return classMetaData.replacement
        }
    
        Collection<PropertyDoc> getClassProperties() { return classProperties }
    
        void addClassProperty(PropertyDoc propertyDoc) {
            classProperties.add(propertyDoc.forClass(this))
        }
    
        Collection<MethodDoc> getClassMethods() { return classMethods }
    
        void addClassMethod(MethodDoc methodDoc) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 6.2K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/testers/ListEqualsTester.java

      public void testEquals_shorterList() {
        Collection<E> fewerElements = getSampleElements(getNumElements() - 1);
        assertFalse(
            "Lists of different sizes should not be equal.",
            getList().equals(new ArrayList<E>(fewerElements)));
      }
    
      public void testEquals_longerList() {
        Collection<E> moreElements = getSampleElements(getNumElements() + 1);
        assertFalse(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/MultimapsFilterEntriesAsMapTest.java

        return Multimaps.filterEntries(unfiltered, PREDICATE);
      }
    
      @Override
      protected Map<String, Collection<Integer>> makeEmptyMap() {
        Multimap<String, Integer> multimap = createMultimap();
        return multimap.asMap();
      }
    
      @Override
      protected Map<String, Collection<Integer>> makePopulatedMap() {
        Multimap<String, Integer> multimap = createMultimap();
        populate(multimap);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/collection/SingleValueIteratorTest.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.collection;
    
    import static org.hamcrest.CoreMatchers.is;
    import static org.hamcrest.CoreMatchers.not;
    import static org.junit.Assert.assertThat;
    
    import org.junit.Test;
    
    /**
     * @author koichik
     *
     */
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/ForMapMultimapAsMapImplementsMapTest.java

      public ForMapMultimapAsMapImplementsMapTest() {
        super(true, true, true);
      }
    
      @Override
      protected Map<String, Collection<Integer>> makeEmptyMap() {
        Map<String, Integer> map = Maps.newHashMap();
        return Multimaps.forMap(map).asMap();
      }
    
      @Override
      protected Map<String, Collection<Integer>> makePopulatedMap() {
        Map<String, Integer> map = Maps.newHashMap();
        map.put("foo", 1);
        map.put("bar", 2);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Feb 19 20:34:55 UTC 2024
    - 3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/collection/CaseInsensitiveSet.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.collection;
    
    import java.io.Serializable;
    import java.util.AbstractSet;
    import java.util.Collection;
    import java.util.Iterator;
    import java.util.Map;
    import java.util.Set;
    
    /**
     * 大文字小文字を気にしない {@link Set}です。
     *
     * @author higa
     */
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/OneSizeGenerator.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.testing.features.CollectionSize;
    import java.util.ArrayList;
    import java.util.Collection;
    import java.util.List;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Generator for collection of a particular size.
     *
     * @author George van den Driessche
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
Back to top