Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1211 - 1220 of 2,047 for collection (0.16 seconds)

  1. android/guava-tests/test/com/google/common/graph/GraphMutationTest.java

          assertThat(graph.edges()).isEmpty(); // no edges can remain if there's no nodes
          AbstractGraphTest.validateGraph(graph);
    
          Collections.shuffle(nodeList, gen);
          for (Integer node : nodeList) {
            assertThat(graph.addNode(node)).isTrue();
          }
          Collections.shuffle(edgeList, gen);
          for (EndpointPair<Integer> edge : edgeList) {
            assertThat(graph.putEdge(edge.nodeU(), edge.nodeV())).isTrue();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 4.2K bytes
    - Click Count (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealCall.kt

        assertLockNotHeld()
    
        val connection = this.connection
        if (connection != null) {
          connection.assertLockNotHeld()
          val toClose: Socket? =
            connection.withLock {
              // Sets this.connection to null.
              releaseConnectionNoEvents()
            }
          if (this.connection == null) {
            toClose?.closeQuietly()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Jan 11 12:06:21 GMT 2026
    - 19.5K bytes
    - Click Count (0)
  3. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsBuilder.java

            Settings settings;
    
            try {
                Map<String, ?> options = Collections.singletonMap(SettingsReader.IS_STRICT, Boolean.TRUE);
    
                try {
                    settings = settingsReader.read(settingsSource.getInputStream(), options);
                } catch (SettingsParseException e) {
                    options = Collections.singletonMap(SettingsReader.IS_STRICT, Boolean.FALSE);
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  4. build-tools-internal/src/main/resources/forbidden/jdk-signatures.txt

    @defaultMessage Avoid unchecked warnings by using Collections#empty(List|Map|Set) methods
    java.util.Collections#EMPTY_LIST
    java.util.Collections#EMPTY_MAP
    java.util.Collections#EMPTY_SET
    
    java.util.Collections#shuffle(java.util.List) @ Use java.util.Collections#shuffle(java.util.List, java.util.Random) with a reproducible source of randomness
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 4.8K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/graph/NetworkMutationTest.java

          assertThat(network.edges()).isEmpty(); // no edges can remain if there's no nodes
          AbstractNetworkTest.validateNetwork(network);
    
          Collections.shuffle(nodeList, gen);
          for (Integer node : nodeList) {
            assertThat(network.addNode(node)).isTrue();
          }
          Collections.shuffle(edgeList, gen);
          for (Object edge : edgeList) {
            assertThat(
                    network.addEdge(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 4.6K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/graph/GraphMutationTest.java

          assertThat(graph.edges()).isEmpty(); // no edges can remain if there's no nodes
          AbstractGraphTest.validateGraph(graph);
    
          Collections.shuffle(nodeList, gen);
          for (Integer node : nodeList) {
            assertThat(graph.addNode(node)).isTrue();
          }
          Collections.shuffle(edgeList, gen);
          for (EndpointPair<Integer> edge : edgeList) {
            assertThat(graph.putEdge(edge.nodeU(), edge.nodeV())).isTrue();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 4.2K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/collect/TreeBasedTableTest.java

        sortedTable = TreeBasedTable.create();
        assertThat(sortedTable.rowComparator()).isEqualTo(Ordering.natural());
    
        sortedTable = TreeBasedTable.create(Collections.reverseOrder(), Ordering.usingToString());
        assertThat(sortedTable.rowComparator()).isEqualTo(Collections.reverseOrder());
      }
    
      public void testColumnComparator() {
        sortedTable = TreeBasedTable.create();
        sortedTable.put("", 42, 'x');
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 15.3K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/lifecycle/providers/packaging/AbstractLifecycleMappingProvider.java

            }
    
            Lifecycle lifecycle = new Lifecycle();
            lifecycle.setId("default");
            lifecycle.setLifecyclePhases(Collections.unmodifiableMap(lifecyclePhaseBindings));
    
            this.lifecycleMapping = new DefaultLifecycleMapping(Collections.singletonList(lifecycle));
        }
    
        @Override
        public LifecycleMapping get() {
            return lifecycleMapping;
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sun Dec 22 12:24:35 GMT 2024
    - 3.2K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/suggest/SuggesterTest.java

                    new ElevateWord("test", 2.0f, Collections.singletonList("test"), Collections.singletonList("content"), null, null);
            ElevateWord elevateWord2 =
                    new ElevateWord("hoge", 2.0f, Collections.singletonList("hoge"), Collections.singletonList("content"), null, null);
            ElevateWord elevateWord3 =
                    new ElevateWord("fuga", 2.0f, Collections.singletonList("fuga"), Collections.singletonList("content"), null, null);
    
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 37.1K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/math/PairedStatsAccumulatorTest.java

                MANY_VALUES, Collections.nCopies(MANY_VALUES_COUNT, OTHER_ONE_VALUE));
        horizontalValuesAccumulatorByAddAllPartitionedPairedStats =
            createPartitionedFilledPairedStatsAccumulator(
                MANY_VALUES, Collections.nCopies(MANY_VALUES_COUNT, OTHER_ONE_VALUE), 2);
    
        verticalValuesAccumulator =
            createFilledPairedStatsAccumulator(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 23.5K bytes
    - Click Count (0)
Back to Top