Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for BaseGraph (0.03 sec)

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

    import java.util.Set;
    
    /**
     * A class to allow {@link Graph} implementations to be backed by a {@link BaseGraph}. This is not
     * currently planned to be released as a general-purpose forwarding class.
     *
     * @author James Sexton
     */
    abstract class ForwardingGraph<N> extends AbstractGraph<N> {
    
      abstract BaseGraph<N> delegate();
    
      @Override
      public Set<N> nodes() {
        return delegate().nodes();
      }
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/graph/ForwardingGraph.java

    import java.util.Set;
    
    /**
     * A class to allow {@link Graph} implementations to be backed by a {@link BaseGraph}. This is not
     * currently planned to be released as a general-purpose forwarding class.
     *
     * @author James Sexton
     */
    abstract class ForwardingGraph<N> extends AbstractGraph<N> {
    
      abstract BaseGraph<N> delegate();
    
      @Override
      public Set<N> nodes() {
        return delegate().nodes();
      }
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/graph/ImmutableGraph.java

     */
    @Beta
    @Immutable(containerOf = {"N"})
    public class ImmutableGraph<N> extends ForwardingGraph<N> {
      @SuppressWarnings("Immutable") // The backing graph must be immutable.
      private final BaseGraph<N> backingGraph;
    
      ImmutableGraph(BaseGraph<N> backingGraph) {
        this.backingGraph = backingGraph;
      }
    
      /** Returns an immutable copy of {@code graph}. */
      public static <N> ImmutableGraph<N> copyOf(Graph<N> graph) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/graph/AbstractBaseGraph.java

    /**
     * This class provides a skeletal implementation of {@link BaseGraph}.
     *
     * <p>The methods implemented in this class should not be overridden unless the subclass admits a
     * more efficient implementation.
     *
     * @author James Sexton
     * @param <N> Node parameter type
     */
    abstract class AbstractBaseGraph<N> implements BaseGraph<N> {
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 07 15:57:03 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/graph/Graph.java

     * @author James Sexton
     * @author Joshua O'Madadhain
     * @param <N> Node parameter type
     * @since 20.0
     */
    @Beta
    @DoNotMock("Use GraphBuilder to create a real instance")
    public interface Graph<N> extends BaseGraph<N> {
      //
      // Graph-level accessors
      //
    
      /** Returns all nodes in this graph, in the order specified by {@link #nodeOrder()}. */
      @Override
      Set<N> nodes();
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/graph/Graph.java

     * @author James Sexton
     * @author Joshua O'Madadhain
     * @param <N> Node parameter type
     * @since 20.0
     */
    @Beta
    @DoNotMock("Use GraphBuilder to create a real instance")
    public interface Graph<N> extends BaseGraph<N> {
      //
      // Graph-level accessors
      //
    
      /** Returns all nodes in this graph, in the order specified by {@link #nodeOrder()}. */
      @Override
      Set<N> nodes();
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/graph/ValueGraph.java

     *
     * @author James Sexton
     * @author Joshua O'Madadhain
     * @param <N> Node parameter type
     * @param <V> Value parameter type
     * @since 20.0
     */
    @Beta
    public interface ValueGraph<N, V> extends BaseGraph<N> {
      //
      // ValueGraph-level accessors
      //
    
      /** Returns all nodes in this graph, in the order specified by {@link #nodeOrder()}. */
      @Override
      Set<N> nodes();
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 16K bytes
    - Viewed (0)
Back to top