Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,937 for Code (0.2 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. android/guava/src/com/google/common/graph/ImmutableNetwork.java

         *
         * <p>If the network is directed, {@code edge} will be directed in this network; otherwise, it
         * will be undirected.
         *
         * <p><b>{@code edge} must be unique to this network</b>, just as a {@code Map} key must be. It
         * must also be non-null.
         *
         * <p>If {@code nodeU} and {@code nodeV} are not already present in this network, this method
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 01 16:30:37 GMT 2022
    - 9.6K bytes
    - Viewed (0)
  5. 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 Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 30K bytes
    - Viewed (0)
  6. 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)
  7. android/guava/src/com/google/common/graph/ImmutableGraph.java

         *
         * <p>If the graph is directed, the resultant edge will be directed; otherwise, it will be
         * undirected.
         *
         * <p>If {@code nodeU} and {@code nodeV} are not already present in this graph, this method will
         * silently {@link #addNode(Object) add} {@code nodeU} and {@code nodeV} to the graph.
         *
         * @return this {@code Builder} object
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 01 16:30:37 GMT 2022
    - 7.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/graph/SuccessorsFunction.java

       * Returns all nodes in this graph adjacent to {@code node} which can be reached by traversing
       * {@code node}'s outgoing edges in the direction (if any) of the edge.
       *
       * <p>This is <i>not</i> the same as "all nodes reachable from {@code node} by following outgoing
       * edges". For that functionality, see {@link Graphs#reachableNodes(Graph, Object)}.
       *
       * <p>Some algorithms that operate on a {@code SuccessorsFunction} may produce undesired results
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 26 17:43:39 GMT 2021
    - 4.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/graph/ElementOrder.java

       *         <li>{@code adjacentNodes(node)}: Stable order
       *         <li>{@code predecessors(node)}: Connecting edge insertion order
       *         <li>{@code successors(node)}: Connecting edge insertion order
       *         <li>{@code incidentEdges(node)}: Stable order
       *         <li>{@code inEdges(node)}: Edge insertion order
       *         <li>{@code outEdges(node)}: Edge insertion order
       *         <li>{@code adjacentEdges(edge)}: Stable order
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Oct 01 17:18:04 GMT 2021
    - 6.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/graph/PredecessorsFunction.java

     * }</pre>
     *
     * <p>If you have some other mechanism for returning the predecessors of a node, or one that doesn't
     * return a {@code Iterable<? extends N>}, then you can use a lambda to perform a more general
     * transformation:
     *
     * <pre>{@code
     * someGraphAlgorithm(startNode, node -> ImmutableList.of(node.mother(), node.father()));
     * }</pre>
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 26 17:43:39 GMT 2021
    - 4.1K bytes
    - Viewed (0)
Back to top