Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 59 for Newton (0.77 seconds)

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

     *
     * <p>Time complexities for mutation methods are all O(1) except for {@code removeNode(N node)},
     * which is in O(d_node) where d_node is the degree of {@code node}.
     *
     * @author James Sexton
     * @param <N> Node parameter type
     */
    final class StandardMutableGraph<N> extends ForwardingGraph<N> implements MutableGraph<N> {
      private final MutableValueGraph<N, Presence> backingValueGraph;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 2.3K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/graph/NetworkConnections.java

    import java.util.Set;
    import org.jspecify.annotations.Nullable;
    
    /**
     * An interface for representing and manipulating an origin node's adjacent nodes and incident edges
     * in a {@link Network}.
     *
     * @author James Sexton
     * @param <N> Node parameter type
     * @param <E> Edge parameter type
     */
    interface NetworkConnections<N, E> {
    
      Set<N> adjacentNodes();
    
      Set<N> predecessors();
    
      Set<N> successors();
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2.3K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/graph/AbstractUndirectedNetworkConnections.java

    import java.util.Collections;
    import java.util.Map;
    import java.util.Set;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A base implementation of {@link NetworkConnections} for undirected networks.
     *
     * @author James Sexton
     * @param <N> Node parameter type
     * @param <E> Edge parameter type
     */
    abstract class AbstractUndirectedNetworkConnections<N, E> implements NetworkConnections<N, E> {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2.7K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/graph/AbstractDirectedNetworkConnections.java

    import java.util.Collections;
    import java.util.Map;
    import java.util.Set;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A base implementation of {@link NetworkConnections} for directed networks.
     *
     * @author James Sexton
     * @param <N> Node parameter type
     * @param <E> Edge parameter type
     */
    abstract class AbstractDirectedNetworkConnections<N, E> implements NetworkConnections<N, E> {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 4.5K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/graph/BaseGraph.java

     */
    
    package com.google.common.graph;
    
    import java.util.Set;
    
    /**
     * A non-public interface for the methods shared between {@link Graph} and {@link ValueGraph}.
     *
     * @author James Sexton
     * @param <N> Node parameter type
     */
    interface BaseGraph<N> extends ArchetypeGraph<N> {
      //
      // Graph-level accessors
      //
    
      /** Returns all edges in this graph. */
      Set<EndpointPair<N>> edges();
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Nov 11 17:11:16 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/graph/ForwardingNetwork.java

    /**
     * A class to allow {@link Network} implementations to be backed by a provided delegate. This is not
     * currently planned to be released as a general-purpose forwarding class.
     *
     * @author James Sexton
     * @author Joshua O'Madadhain
     */
    abstract class ForwardingNetwork<N, E> extends AbstractNetwork<N, E> {
    
      abstract Network<N, E> delegate();
    
      @Override
      public Set<N> nodes() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 3.4K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/graph/DirectedMultiNetworkConnections.java

    import java.util.Map;
    import java.util.Set;
    import org.jspecify.annotations.Nullable;
    
    /**
     * An implementation of {@link NetworkConnections} for directed networks with parallel edges.
     *
     * @author James Sexton
     * @param <N> Node parameter type
     * @param <E> Edge parameter type
     */
    final class DirectedMultiNetworkConnections<N, E> extends AbstractDirectedNetworkConnections<N, E> {
    
      private DirectedMultiNetworkConnections(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 4.6K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/graph/MapIteratorCache.java

     * map is immutable).
     *
     * <p>This class is tailored toward use cases in common.graph. It is *NOT* a general purpose map.
     *
     * @author James Sexton
     */
    class MapIteratorCache<K, V> {
      private final Map<K, V> backingMap;
    
      /*
       * Per JDK: "the behavior of a map entry is undefined if the backing map has been modified after
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 4.6K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/graph/MutableGraph.java

    /**
     * A subinterface of {@link Graph} which adds mutation methods. When mutation is not required, users
     * should prefer the {@link Graph} interface.
     *
     * @author James Sexton
     * @author Joshua O'Madadhain
     * @param <N> Node parameter type
     * @since 20.0
     */
    public interface MutableGraph<N> extends Graph<N> {
    
      /**
       * Adds {@code node} if it is not already present.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 01:10:31 GMT 2026
    - 3.8K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/graph/EndpointPairIterator.java

    import java.util.Iterator;
    import java.util.Set;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A class to facilitate the set returned by {@link Graph#edges()}.
     *
     * @author James Sexton
     */
    abstract class EndpointPairIterator<N> extends AbstractIterator<EndpointPair<N>> {
      private final BaseGraph<N> graph;
      private final Iterator<N> nodeIterator;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 4.9K bytes
    - Click Count (0)
Back to Top