Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 48 for elementOrder (0.06 seconds)

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

      }
    
      @Override
      public boolean allowsSelfLoops() {
        return delegate().allowsSelfLoops();
      }
    
      @Override
      public ElementOrder<N> nodeOrder() {
        return delegate().nodeOrder();
      }
    
      @Override
      public ElementOrder<N> incidentEdgeOrder() {
        return delegate().incidentEdgeOrder();
      }
    
      @Override
      public Set<N> adjacentNodes(N node) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2.8K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/graph/ImmutableNetworkTest.java

            NetworkBuilder.directed()
                .allowsSelfLoops(true)
                .nodeOrder(ElementOrder.<String>natural())
                .<String, Integer>immutable()
                .build();
    
        assertThat(emptyNetwork.isDirected()).isTrue();
        assertThat(emptyNetwork.allowsSelfLoops()).isTrue();
        assertThat(emptyNetwork.nodeOrder()).isEqualTo(ElementOrder.<String>natural());
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 30 17:09:51 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/graph/BaseGraph.java

      Set<EndpointPair<N>> edges();
    
      /**
       * Returns an {@link ElementOrder} that specifies the order of iteration for the elements of
       * {@link #edges()}, {@link #adjacentNodes(Object)}, {@link #predecessors(Object)}, {@link
       * #successors(Object)} and {@link #incidentEdges(Object)}.
       *
       * @since 29.0
       */
      ElementOrder<N> incidentEdgeOrder();
    
      /**
    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)
  4. android/guava/src/com/google/common/graph/AbstractValueGraph.java

          public boolean allowsSelfLoops() {
            return AbstractValueGraph.this.allowsSelfLoops();
          }
    
          @Override
          public ElementOrder<N> nodeOrder() {
            return AbstractValueGraph.this.nodeOrder();
          }
    
          @Override
          public ElementOrder<N> incidentEdgeOrder() {
            return AbstractValueGraph.this.incidentEdgeOrder();
          }
    
          @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 01:10:31 GMT 2026
    - 4K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/graph/DefaultNetworkImplementationsTest.java

        }
    
        @Override
        public boolean allowsSelfLoops() {
          return network.allowsSelfLoops();
        }
    
        @Override
        public ElementOrder<N> nodeOrder() {
          return network.nodeOrder();
        }
    
        @Override
        public ElementOrder<E> edgeOrder() {
          return network.edgeOrder();
        }
    
        @Override
        public Set<N> adjacentNodes(N node) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 7.4K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/graph/AbstractBaseGraph.java

            return AbstractBaseGraph.this.allowsSelfLoops();
          }
    
          @Override
          public ElementOrder<N> nodeOrder() {
            return AbstractBaseGraph.this.nodeOrder();
          }
    
          @Override
          public ElementOrder<EndpointPair<N>> edgeOrder() {
            return ElementOrder.unordered(); // Graph doesn't define edge order
          }
    
          @Override
          public Set<N> adjacentNodes(N node) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Oct 07 15:57:03 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/graph/StandardMutableDirectedGraphTest.java

            new Object[][] {
              {false, ElementOrder.unordered()},
              {true, ElementOrder.unordered()},
              {false, ElementOrder.stable()},
              {true, ElementOrder.stable()},
            });
      }
    
      private final boolean allowsSelfLoops;
      private final ElementOrder<Integer> incidentEdgeOrder;
    
      public StandardMutableDirectedGraphTest(
          boolean allowsSelfLoops, ElementOrder<Integer> incidentEdgeOrder) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 2.1K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/graph/StandardMutableDirectedGraphTest.java

            new Object[][] {
              {false, ElementOrder.unordered()},
              {true, ElementOrder.unordered()},
              {false, ElementOrder.stable()},
              {true, ElementOrder.stable()},
            });
      }
    
      private final boolean allowsSelfLoops;
      private final ElementOrder<Integer> incidentEdgeOrder;
    
      public StandardMutableDirectedGraphTest(
          boolean allowsSelfLoops, ElementOrder<Integer> incidentEdgeOrder) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 2.1K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/graph/NetworkBuilder.java

     * @since 20.0
     */
    public final class NetworkBuilder<N, E> extends AbstractGraphBuilder<N> {
      boolean allowsParallelEdges = false;
      ElementOrder<? super E> edgeOrder = ElementOrder.insertion();
      @Nullable Integer expectedEdgeCount = null;
    
      /** Creates a new instance with the specified edge directionality. */
      private NetworkBuilder(boolean directed) {
        super(directed);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 7.3K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/graph/StandardValueGraph.java

     * @param <V> Value parameter type
     */
    class StandardValueGraph<N, V> extends AbstractValueGraph<N, V> {
      private final boolean isDirected;
      private final boolean allowsSelfLoops;
      private final ElementOrder<N> nodeOrder;
    
      final MapIteratorCache<N, GraphConnections<N, V>> nodeConnections;
    
      long edgeCount; // must be updated when edges are added or removed
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 6K bytes
    - Click Count (0)
Back to Top