Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 66 for Hedger (0.14 sec)

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

    @ElementTypesAreNonnullByDefault
    abstract class AbstractBaseGraph<N> implements BaseGraph<N> {
    
      /**
       * Returns the number of edges in this graph; used to calculate the size of {@link Graph#edges()}.
       * This implementation requires O(|N|) time. Classes extending this one may manually keep track of
       * the number of edges as the graph is updated, and override this method for better performance.
       */
      protected long edgeCount() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/graph/TestUtil.java

      static final String ERROR_ELEMENT_REMOVED = "used to generate this set";
      private static final String NODE_STRING = "Node";
      private static final String EDGE_STRING = "Edge";
    
      enum EdgeType {
        UNDIRECTED,
        DIRECTED;
      }
    
      private TestUtil() {}
    
      static void assertNodeNotInGraphErrorMessage(Throwable throwable) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/graph/TestUtil.java

      static final String ERROR_ELEMENT_REMOVED = "used to generate this set";
      private static final String NODE_STRING = "Node";
      private static final String EDGE_STRING = "Edge";
    
      enum EdgeType {
        UNDIRECTED,
        DIRECTED;
      }
    
      private TestUtil() {}
    
      static void assertNodeNotInGraphErrorMessage(Throwable throwable) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/graph/StandardValueGraph.java

      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
    
      /** Constructs a graph with the properties specified in {@code builder}. */
      StandardValueGraph(AbstractGraphBuilder<? super N> builder) {
        this(
            builder,
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/base/AsciiTest.java

        // may change and break assumptions in this test [*]. This is not a bug in the implementation of
        // Ascii.equalsIgnoreCase(), but it is a signal that its documentation may need updating as
        // regards edge cases.
    
        // The Unicode point {@code 00df} is the lowercase form of sharp-S (ß), whose uppercase is "SS".
        assertEquals("PASSWORD", "pa\u00dfword".toUpperCase()); // [*]
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  6. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableList.java

          return list.asList();
        }
        return copyFromCollection(elements);
      }
    
      @JsMethod
      public static <E> ImmutableList<E> copyOf(E[] elements) {
        checkNotNull(elements); // eager for GWT
        return copyOf(Arrays.asList(elements));
      }
    
      private static <E> ImmutableList<E> copyFromCollection(Collection<? extends E> collection) {
        Object[] elements = collection.toArray();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 27 19:19:19 GMT 2024
    - 11K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/graph/AbstractStandardDirectedNetworkTest.java

      }
    
      @Override
      @Test
      public void edges_checkReturnedSetMutability() {
        assume().that(graphIsMutable()).isTrue();
    
        Set<String> edges = network.edges();
        UnsupportedOperationException e =
            assertThrows(UnsupportedOperationException.class, () -> edges.add(E12));
        addEdge(N1, N2, E12);
        assertThat(network.edges()).containsExactlyElementsIn(edges);
      }
    
      @Override
      @Test
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/graph/Graphs.java

        for (N node : graph.nodes()) {
          copy.addNode(node);
        }
        for (EndpointPair<N> edge : graph.edges()) {
          copy.putEdge(edge.nodeU(), edge.nodeV());
        }
        return copy;
      }
    
      /** Creates a mutable copy of {@code graph} with the same nodes, edges, and edge values. */
      public static <N, V> MutableValueGraph<N, V> copyOf(ValueGraph<N, V> graph) {
        MutableValueGraph<N, V> copy =
    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)
  9. android/guava/src/com/google/common/graph/AbstractNetwork.java

      @Override
      public Set<E> adjacentEdges(E edge) {
        EndpointPair<N> endpointPair = incidentNodes(edge); // Verifies that edge is in this network.
        Set<E> endpointPairIncidentEdges =
            Sets.union(incidentEdges(endpointPair.nodeU()), incidentEdges(endpointPair.nodeV()));
        return edgeInvalidatableSet(
            Sets.difference(endpointPairIncidentEdges, ImmutableSet.of(edge)), edge);
      }
    
      @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Mar 13 18:17:09 GMT 2024
    - 10.1K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/graph/AbstractStandardUndirectedNetworkTest.java

      }
    
      @Override
      @Test
      public void edges_checkReturnedSetMutability() {
        Set<String> edges = network.edges();
        UnsupportedOperationException e =
            assertThrows(UnsupportedOperationException.class, () -> edges.add(E12));
        addEdge(N1, N2, E12);
        assertThat(network.edges()).containsExactlyElementsIn(edges);
      }
    
      @Override
      @Test
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 19.3K bytes
    - Viewed (0)
Back to top