Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,128 for node (0.12 sec)

  1. android/guava/src/com/google/common/collect/LinkedListMultimap.java

       */
      private void removeNode(Node<K, V> node) {
        if (node.previous != null) {
          node.previous.next = node.next;
        } else { // node was head
          head = node.next;
        }
        if (node.next != null) {
          node.next.previous = node.previous;
        } else { // node was tail
          tail = node.previous;
        }
        if (node.previousSibling == null && node.nextSibling == null) {
          /*
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 27.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/graph/StandardMutableValueGraph.java

        return connections;
      }
    
      @Override
      @CanIgnoreReturnValue
      @CheckForNull
      public V putEdgeValue(N nodeU, N nodeV, V value) {
        checkNotNull(nodeU, "nodeU");
        checkNotNull(nodeV, "nodeV");
        checkNotNull(value, "value");
    
        if (!allowsSelfLoops()) {
          checkArgument(!nodeU.equals(nodeV), SELF_LOOPS_NOT_ALLOWED, nodeU);
        }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Sat Oct 21 01:50:30 GMT 2023
    - 6.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/TreeMultiset.java

          node = root.ceiling(comparator(), endpoint);
          if (node == null) {
            return null;
          }
          if (range.getLowerBoundType() == BoundType.OPEN
              && comparator().compare(endpoint, node.getElement()) == 0) {
            node = node.succ();
          }
        } else {
          node = header.succ();
        }
        return (node == header || !range.contains(node.getElement())) ? null : node;
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 34.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/TreeTraverserTest.java

            @Override
            public Iterable<Tree> children(Tree node) {
              return node.children;
            }
          };
    
      private static final TreeTraverser<Tree> ADAPTER_USING_USING =
          TreeTraverser.using(
              new Function<Tree, Iterable<Tree>>() {
                @Override
                public Iterable<Tree> apply(Tree node) {
                  return node.children;
                }
              });
    
      //        h
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/graph/UndirectedGraphConnections.java

      }
    
      @Override
      @CheckForNull
      public V value(N node) {
        return adjacentNodeValues.get(node);
      }
    
      @Override
      public void removePredecessor(N node) {
        @SuppressWarnings("unused")
        V unused = removeSuccessor(node);
      }
    
      @Override
      @CheckForNull
      public V removeSuccessor(N node) {
        return adjacentNodeValues.remove(node);
      }
    
      @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Oct 06 00:47:57 GMT 2021
    - 3.3K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/graph/ValueGraphTest.java

        for (Integer node : graph.nodes()) {
          assertThat(graph.adjacentNodes(node)).isEqualTo(asGraph.adjacentNodes(node));
          assertThat(graph.predecessors(node)).isEqualTo(asGraph.predecessors(node));
          assertThat(graph.successors(node)).isEqualTo(asGraph.successors(node));
          assertThat(graph.degree(node)).isEqualTo(asGraph.degree(node));
          assertThat(graph.inDegree(node)).isEqualTo(asGraph.inDegree(node));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 06 18:35:19 GMT 2024
    - 20K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

         * allowedPriorLocks} to find a path between {@code this} and the specified {@code lock}.
         *
         * @return If a path was found, a chained {@link ExampleStackTrace} illustrating the path to the
         *     {@code lock}, or {@code null} if no path was found.
         */
        @CheckForNull
        private ExampleStackTrace findPathTo(LockGraphNode node, Set<LockGraphNode> seen) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 35.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/CompactLinkedHashMap.java

       * all "null" (UNSET).
       *
       * <p>A node with "prev" pointer equal to {@code ENDPOINT} is the first node in the linked list,
       * and a node with "next" pointer equal to {@code ENDPOINT} is the last node.
       */
      @CheckForNull @VisibleForTesting transient long[] links;
    
      /** Pointer to the first node in the linked list, or {@code ENDPOINT} if there are no entries. */
      private transient int firstEntry;
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/CompactLinkedHashSet.java

       * Pointer to the predecessor of an entry in insertion order. ENDPOINT indicates a node is the
       * first node in insertion order; all values at indices ≥ {@link #size()} are UNSET.
       */
      @CheckForNull private transient int[] predecessor;
    
      /**
       * Pointer to the successor of an entry in insertion order. ENDPOINT indicates a node is the last
       * node in insertion order; all values at indices ≥ {@link #size()} are UNSET.
       */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Feb 05 21:38:59 GMT 2024
    - 9.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/graph/UndirectedNetworkConnections.java

      @Override
      public Set<N> adjacentNodes() {
        return Collections.unmodifiableSet(((BiMap<E, N>) incidentEdgeMap).values());
      }
    
      @Override
      public Set<E> edgesConnecting(N node) {
        return new EdgesConnecting<>(((BiMap<E, N>) incidentEdgeMap).inverse(), node);
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Oct 01 17:18:04 GMT 2021
    - 1.9K bytes
    - Viewed (0)
Back to top