Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,072 for Collections (0.04 sec)

  1. samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/ClientAndServer.java

        server.setProtocols(Collections.singletonList(Protocol.H2_PRIOR_KNOWLEDGE));
        server.enqueue(new MockResponse().setBody("hello"));
        server.start();
    
        OkHttpClient client = new OkHttpClient.Builder()
            .socketFactory(new UnixDomainSocketFactory(socketFile))
            .protocols(Collections.singletonList(Protocol.H2_PRIOR_KNOWLEDGE))
            .build();
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Dec 24 03:46:30 UTC 2018
    - 2.1K bytes
    - Viewed (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/artifact/deployer/SimpleArtifactMetadataSource.java

            return Collections.singletonList(new DefaultArtifactVersion("10.1.3"));
        }
    
        @Override
        public List<ArtifactVersion> retrieveAvailableVersionsFromDeploymentRepository(
                Artifact artifact, ArtifactRepository localRepository, ArtifactRepository remoteRepository) {
            return Collections.singletonList(new DefaultArtifactVersion("10.1.3"));
        }
    
        @Override
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/MultimapBuilder.java

          @Override
          <K extends @Nullable Object, V extends @Nullable Object> Map<K, Collection<V>> createMap() {
            return Platform.newHashMapWithExpectedSize(expectedKeys);
          }
        };
      }
    
      /**
       * Uses a hash table to map keys to value collections.
       *
       * <p>The collections returned by {@link Multimap#keySet()}, {@link Multimap#keys()}, and {@link
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 18K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/MultimapBuilder.java

          @Override
          <K extends @Nullable Object, V extends @Nullable Object> Map<K, Collection<V>> createMap() {
            return Platform.newHashMapWithExpectedSize(expectedKeys);
          }
        };
      }
    
      /**
       * Uses a hash table to map keys to value collections.
       *
       * <p>The collections returned by {@link Multimap#keySet()}, {@link Multimap#keys()}, and {@link
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 18K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/Collections2Test.java

        assertPermutationsCount(1, Collections2.permutations(Collections.<Integer>emptyList()));
        assertPermutationsCount(1, Collections2.permutations(newArrayList(1)));
        assertPermutationsCount(2, Collections2.permutations(newArrayList(1, 2)));
        assertPermutationsCount(6, Collections2.permutations(newArrayList(1, 2, 3)));
        assertPermutationsCount(5040, Collections2.permutations(newArrayList(1, 2, 3, 4, 5, 6, 7)));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.1K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionSerializationEqualTester.java

    import com.google.common.testing.SerializableTester;
    import org.junit.Ignore;
    
    /**
     * Basic reserialization test for collection types that must preserve {@code equals()} behavior when
     * reserialized. (Sets and Lists, but not bare Collections.)
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 21:10:54 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/TestsForSetsInJavaUtil.java

        return emptySet();
      }
    
      protected Collection<Method> suppressForTreeSetNatural() {
        return emptySet();
      }
    
      protected Collection<Method> suppressForTreeSetWithComparator() {
        return emptySet();
      }
    
      protected Collection<Method> suppressForCopyOnWriteArraySet() {
        return Collections.emptySet();
      }
    
      protected Collection<Method> suppressForUnmodifiableSet() {
        return emptySet();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 15K bytes
    - Viewed (0)
  8. compat/maven-compat/src/test/java/org/apache/maven/ProjectDependenciesResolverTest.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven;
    
    import javax.inject.Inject;
    
    import java.io.File;
    import java.util.Collections;
    import java.util.List;
    import java.util.Properties;
    import java.util.Set;
    
    import org.apache.maven.artifact.Artifact;
    import org.apache.maven.execution.MavenSession;
    import org.apache.maven.project.MavenProject;
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java

            // Full NTLM handshake testing would require more complex mocking
    
            // Arrange - Mock a server that supports NTLM
            mockResponse(HTTP_UNAUTHORIZED, "Unauthorized", Collections.singletonMap("WWW-Authenticate", Collections.singletonList("NTLM")),
                    new ByteArrayInputStream(new byte[0]));
    
            // Act - Trigger handshake
            int responseCode = ntlmConnection.getResponseCode();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/api/WebApiManagerFactory.java

     */
    package org.codelibs.fess.api;
    
    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.List;
    
    import jakarta.servlet.http.HttpServletRequest;
    
    /**
     * Factory class for managing and retrieving web API managers.
     * This factory maintains a collection of web API managers and provides
     * functionality to find the appropriate manager for incoming requests.
     */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.1K bytes
    - Viewed (0)
Back to top