Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 1,092 for Collections (0.94 sec)

  1. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedSet.java

      @Override
      public Object[] toArray() {
        /*
         * ObjectArrays.toArrayImpl 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 elements, so we can treat it as a plain `Object[]`.
         */
        @SuppressWarnings("nullness")
        Object[] result = ObjectArrays.toArrayImpl(this);
        return result;
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRetainAllTester.java

    import com.google.common.collect.testing.features.CollectionSize;
    import java.util.Collection;
    import java.util.Collections;
    import java.util.List;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests {@code retainAll} operations on a collection. Can't be invoked
     * directly; please see {@link com.google.common.collect.testing.CollectionTestSuiteBuilder}.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 18 15:05:43 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ObjectArrays.java

       * elements than the collection), the element in the array immediately following the end of the
       * collection is set to {@code null}. This is useful in determining the length of the collection
       * <i>only</i> if the caller knows that the collection does not contain any null elements.
       *
       * <p>This method returns the elements in the order they are returned by the collection's
       * iterator.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/ImmutableSortedMapTest.java

      public void testBuilderPutAllWithEmptyMap() {
        ImmutableSortedMap<String, Integer> map =
            ImmutableSortedMap.<String, Integer>naturalOrder()
                .putAll(Collections.<String, Integer>emptyMap())
                .build();
        assertEquals(Collections.<String, Integer>emptyMap(), map);
      }
    
      public void testBuilderPutAll() {
        Map<String, Integer> toPut = new LinkedHashMap<>();
        toPut.put("one", 1);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/graph/DirectedMultiNetworkConnections.java

    import com.google.common.collect.Multiset;
    import com.google.errorprone.annotations.concurrent.LazyInit;
    import java.lang.ref.Reference;
    import java.lang.ref.SoftReference;
    import java.util.Collections;
    import java.util.HashMap;
    import java.util.Map;
    import java.util.Set;
    import org.jspecify.annotations.Nullable;
    
    /**
     * An implementation of {@link NetworkConnections} for directed networks with parallel edges.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/graph/DirectedMultiNetworkConnections.java

    import com.google.common.collect.Multiset;
    import com.google.errorprone.annotations.concurrent.LazyInit;
    import java.lang.ref.Reference;
    import java.lang.ref.SoftReference;
    import java.util.Collections;
    import java.util.HashMap;
    import java.util.Map;
    import java.util.Set;
    import org.jspecify.annotations.Nullable;
    
    /**
     * An implementation of {@link NetworkConnections} for directed networks with parallel edges.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  7. compat/maven-compat/src/test/java/org/apache/maven/toolchain/DefaultToolchainTest.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.toolchain;
    
    import java.util.Collections;
    
    import org.apache.maven.toolchain.java.DefaultJavaToolChain;
    import org.apache.maven.toolchain.model.ToolchainModel;
    import org.codehaus.plexus.util.xml.Xpp3Dom;
    import org.junit.jupiter.api.BeforeEach;
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Tue Feb 11 12:33:57 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/NotifyResponseTest.java

            // Test async property
            assertFalse(response.isAsync());
            response.setAsync(true);
            assertTrue(response.isAsync());
    
            // Test next response property
            assertNull(response.getNextResponse());
            MockNotifyResponse nextResponse = new MockNotifyResponse(Collections.emptyList());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/io/MultiInputStreamTest.java

     */
    
    package com.google.common.io;
    
    import java.io.ByteArrayInputStream;
    import java.io.FilterInputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.List;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Test class for {@link MultiInputStream}.
     *
     * @author Chris Nokleberg
     */
    @NullUnmarked
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ObjectArrays.java

       * elements than the collection), the element in the array immediately following the end of the
       * collection is set to {@code null}. This is useful in determining the length of the collection
       * <i>only</i> if the caller knows that the collection does not contain any null elements.
       *
       * <p>This method returns the elements in the order they are returned by the collection's
       * iterator.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.9K bytes
    - Viewed (0)
Back to top