Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for ForwardingGraph (0.3 sec)

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

     * currently planned to be released as a general-purpose forwarding class.
     *
     * @author James Sexton
     */
    @ElementTypesAreNonnullByDefault
    abstract class ForwardingGraph<N> extends AbstractGraph<N> {
    
      abstract BaseGraph<N> delegate();
    
      @Override
      public Set<N> nodes() {
        return delegate().nodes();
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 26 17:43:39 GMT 2021
    - 2.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/graph/StandardMutableGraph.java

     * which is in O(d_node) where d_node is the degree of {@code node}.
     *
     * @author James Sexton
     * @param <N> Node parameter type
     */
    @ElementTypesAreNonnullByDefault
    final class StandardMutableGraph<N> extends ForwardingGraph<N> implements MutableGraph<N> {
      private final MutableValueGraph<N, Presence> backingValueGraph;
    
      /** Constructs a {@link MutableGraph} with the properties specified in {@code builder}. */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 26 17:43:39 GMT 2021
    - 2.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/graph/ImmutableGraph.java

     * @author Omar Darwish
     * @author Jens Nyman
     * @param <N> Node parameter type
     * @since 20.0
     */
    @Beta
    @Immutable(containerOf = {"N"})
    @ElementTypesAreNonnullByDefault
    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;
      }
    
    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)
  4. android/guava/src/com/google/common/graph/Graphs.java

      // NOTE: this should work as long as the delegate graph's implementation of edges() (like that of
      // AbstractGraph) derives its behavior from calling successors().
      private static class TransposedGraph<N> extends ForwardingGraph<N> {
        private final Graph<N> graph;
    
        TransposedGraph(Graph<N> graph) {
          this.graph = graph;
        }
    
        @Override
        Graph<N> delegate() {
          return graph;
        }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.2K bytes
    - Viewed (0)
Back to top