Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 54 for addCode (0.04 seconds)

  1. compat/maven-compat/src/main/java/org/apache/maven/repository/MetadataGraph.java

        public MetadataGraph(MetadataGraphNode entry) {
            this();
    
            this.entry = entry;
        }
    
        public MetadataGraph() {
            nodes = new ArrayList<>(64);
        }
    
        public void addNode(MetadataGraphNode node) {
            nodes.add(node);
        }
    
        /**
         * find a node by the GAV (metadata)
         *
         * @param md
         */
        public MetadataGraphNode findNode(MavenArtifactMetadata md) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2K bytes
    - Click Count (0)
  2. guava/src/com/google/common/graph/MutableNetwork.java

       * <p><b>Nodes must be unique</b>, just as {@code Map} keys must be. They must also be non-null.
       *
       * @return {@code true} if the network was modified as a result of this call
       */
      @CanIgnoreReturnValue
      boolean addNode(N node);
    
      /**
       * Adds {@code edge} connecting {@code nodeU} to {@code nodeV}.
       *
       * <p>If the graph is directed, {@code edge} will be directed in this graph; otherwise, it will be
       * undirected.
       *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 4.4K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/graph/PackageSanityTests.java

          NetworkBuilder.directed().<String, String>immutable().addNode("A").build();
      private static final ImmutableNetwork<String, String> IMMUTABLE_NETWORK_B =
          NetworkBuilder.directed().<String, String>immutable().addNode("B").build();
    
      public PackageSanityTests() {
        MutableNetwork<String, String> mutableNetworkA = NetworkBuilder.directed().build();
        mutableNetworkA.addNode("a");
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 28 01:26:26 GMT 2024
    - 3.2K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/graph/AbstractGraphTest.java

        assertThat(graphAsMutableGraph.addNode(N1)).isTrue();
        assertThat(graph.nodes()).contains(N1);
      }
    
      @Test
      public void addNode_existingNode() {
        assume().that(graphIsMutable()).isTrue();
    
        addNode(N1);
        ImmutableSet<Integer> nodes = ImmutableSet.copyOf(graph.nodes());
        assertThat(graphAsMutableGraph.addNode(N1)).isFalse();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 07 15:57:03 GMT 2025
    - 17.3K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/graph/AbstractStandardUndirectedNetworkTest.java

          assertThat(network.adjacentEdges(E12)).containsExactlyElementsIn(adjacentEdges);
        }
      }
    
      @Override
      @Test
      public void edgesConnecting_checkReturnedSetMutability() {
        addNode(N1);
        addNode(N2);
        Set<String> edgesConnecting = network.edgesConnecting(N1, N2);
        assertThrows(UnsupportedOperationException.class, () -> edgesConnecting.add(E23));
        addEdge(N1, N2, E12);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 30 17:09:51 GMT 2025
    - 19K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/graph/GraphEquivalenceTest.java

        }
        throw new IllegalStateException("Unexpected edge type: " + edgeType);
      }
    
      @Test
      public void equivalent_nodeSetsDiffer() {
        graph.addNode(N1);
    
        MutableGraph<Integer> g2 = createGraph(edgeType);
        g2.addNode(N2);
    
        assertThat(graph).isNotEqualTo(g2);
      }
    
      // Node/edge sets are the same, but node/edge connections differ due to edge type.
      @Test
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 4.6K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsRequestBuilder.java

            return this;
        }
    
        /**
         * Adds a role to filter by.
         * @param role The role.
         * @return This builder instance.
         */
        public PopularWordsRequestBuilder addRole(final String role) {
            request.addRole(role);
            return this;
        }
    
        /**
         * Adds a field to filter by.
         * @param field The field name.
         * @return This builder instance.
         */
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Fri Jul 04 14:00:23 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsRequestBuilderTest.java

            assertNotNull(response);
        }
    
        @Test
        public void test_addRole() throws Exception {
            indexItems();
    
            PopularWordsResponse response = suggester.popularWords().addRole(SuggestConstants.DEFAULT_ROLE).execute().getResponse();
    
            assertNotNull(response);
        }
    
        @Test
        public void test_addField() throws Exception {
            indexItems();
    
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Mon Nov 24 03:40:05 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestRequestBuilder.java

            return this;
        }
    
        /**
         * Adds a role to filter by.
         * @param role The role.
         * @return This builder instance.
         */
        public SuggestRequestBuilder addRole(final String role) {
            request.addRole(role);
            return this;
        }
    
        /**
         * Adds a field to filter by.
         * @param field The field name.
         * @return This builder instance.
         */
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Fri Jul 04 14:00:23 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  10. guava/src/com/google/common/graph/ImmutableValueGraph.java

         *
         * @return this {@code Builder} object
         */
        @CanIgnoreReturnValue
        public ImmutableValueGraph.Builder<N, V> addNode(N node) {
          mutableValueGraph.addNode(node);
          return this;
        }
    
        /**
         * Adds an edge connecting {@code nodeU} to {@code nodeV} if one is not already present, and
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 7.9K bytes
    - Click Count (0)
Back to Top