Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,436 for Code (0.13 sec)

  1. android/guava/src/com/google/common/graph/ValueGraph.java

      @Override
      Set<EndpointPair<N>> incidentEdges(N node);
    
      /**
       * Returns the count of {@code node}'s incident edges, counting self-loops twice (equivalently,
       * the number of times an edge touches {@code node}).
       *
       * <p>For directed graphs, this is equal to {@code inDegree(node) + outDegree(node)}.
       *
       * <p>For undirected graphs, this is equal to {@code incidentEdges(node).size()} + (number of
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 15K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/graph/Traverser.java

       *
       * <p>This method can be used to traverse over a binary tree. Given methods {@code
       * leftChild(node)} and {@code rightChild(node)}, this method can be called as
       *
       * <pre>{@code
       * Traverser.forTree(node -> ImmutableList.of(leftChild(node), rightChild(node)));
       * }</pre>
       *
       * @param tree {@link SuccessorsFunction} representing a directed acyclic graph that has at most
       *     one path between any two nodes
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue May 30 20:12:45 GMT 2023
    - 19.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/math/IntMath.java

      /**
       * Returns the result of dividing {@code p} by {@code q}, rounding using the specified {@code
       * RoundingMode}.
       *
       * @throws ArithmeticException if {@code q == 0}, or if {@code mode == UNNECESSARY} and {@code a}
       *     is not an integer multiple of {@code b}
       */
      @SuppressWarnings("fallthrough")
      public static int divide(int p, int q, RoundingMode mode) {
        checkNotNull(mode);
        if (q == 0) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 23.5K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

        /**
         * Shortcut for {@code getService(ArtifactFactory.class).create(...)}.
         *
         * @param groupId the group identifier, or {@code null} is unspecified
         * @param artifactId the artifact identifier, or {@code null} is unspecified
         * @param version the artifact version, or {@code null} is unspecified
         * @param extension the artifact extension, or {@code null} is unspecified
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 30.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/math/BigDecimalMath.java

      /**
       * Returns {@code x}, rounded to a {@code double} with the specified rounding mode. If {@code x}
       * is precisely representable as a {@code double}, its {@code double} value will be returned;
       * otherwise, the rounding will choose between the two nearest representable values with {@code
       * mode}.
       *
       * <p>For the case of {@link RoundingMode#HALF_DOWN}, {@code HALF_UP}, and {@code HALF_EVEN},
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 23 18:45:50 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/project/ProjectBuildingRequest.java

        /**
         * Sets the merge mode used to combine repositories declared in the POM with the repositories specified in this
         * request.
         *
         * @param mode The repository merge mode, must not be {@code null}.
         * @return This request for chaining, never {@code null}.
         * @see #setRemoteRepositories(List)
         */
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 7K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/graph/AbstractGraphTest.java

            assertThat(graph.degree(node)).isEqualTo(graph.adjacentNodes(node).size() + selfLoopCount);
            assertThat(graph.predecessors(node)).isEqualTo(graph.adjacentNodes(node));
            assertThat(graph.successors(node)).isEqualTo(graph.adjacentNodes(node));
            assertThat(graph.inDegree(node)).isEqualTo(graph.degree(node));
            assertThat(graph.outDegree(node)).isEqualTo(graph.degree(node));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 16.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

            index = grandParentIndex;
          }
          queue[index] = x;
          return index;
        }
    
        /**
         * Returns the index of minimum value between {@code index} and {@code index + len}, or {@code
         * -1} if {@code index} is greater than {@code size}.
         */
        int findMin(int index, int len) {
          if (index >= size) {
            return -1;
          }
          checkState(index > 0);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 34K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/graph/ValueGraphBuilder.java

     * @author Joshua O'Madadhain
     * @param <N> The most general node type this builder will support. This is normally {@code Object}
     *     unless it is constrained by using a method like {@link #nodeOrder}, or the builder is
     *     constructed based on an existing {@code ValueGraph} using {@link #from(ValueGraph)}.
     * @param <V> The most general value type this builder will support. This is normally {@code Object}
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Jun 03 01:21:31 GMT 2022
    - 8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/Floats.java

      /**
       * Returns the value nearest to {@code value} which is within the closed range {@code [min..max]}.
       *
       * <p>If {@code value} is within the range {@code [min..max]}, {@code value} is returned
       * unchanged. If {@code value} is less than {@code min}, {@code min} is returned, and if {@code
       * value} is greater than {@code max}, {@code max} is returned.
       *
       * @param value the {@code float} value to constrain
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 25.2K bytes
    - Viewed (0)
Back to top