Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 98 for nide (0.3 sec)

  1. android/guava/src/com/google/common/util/concurrent/TimeoutFuture.java

           * need to clear our reference to the TimeoutFuture is the reason we use a *static* nested
           * class with a manual reference back to the "containing" class.)
           *
           * This has the nice-ish side effect of limiting reentrancy: run() calls
           * timeoutFuture.setException() calls run(). That reentrancy would already be harmless, since
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/graph/DirectedGraphConnections.java

      /**
       * A value class representing single connection between the origin node and another node.
       *
       * <p>There can be two types of connections (predecessor and successor), which is represented by
       * the two implementations.
       */
      private abstract static class NodeConnection<N> {
        final N node;
    
        NodeConnection(N node) {
          this.node = checkNotNull(node);
        }
    
        static final class Pred<N> extends NodeConnection<N> {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 18K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/graph/AbstractGraphTest.java

            assertThat(graph.degree(node)).isEqualTo(graph.adjacentNodes(node).size() + selfLoopCount);
            assertThat(graph.predecessors(node)).isEqualTo(graph.adjacentNodes(node));
            assertThat(graph.successors(node)).isEqualTo(graph.adjacentNodes(node));
            assertThat(graph.inDegree(node)).isEqualTo(graph.degree(node));
            assertThat(graph.outDegree(node)).isEqualTo(graph.degree(node));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 16.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/graph/ValueGraph.java

       * the number of times an edge touches {@code node}).
       *
       * <p>For directed graphs, this is equal to {@code inDegree(node) + outDegree(node)}.
       *
       * <p>For undirected graphs, this is equal to {@code incidentEdges(node).size()} + (number of
       * self-loops incident to {@code node}).
       *
       * <p>If the count is greater than {@code Integer.MAX_VALUE}, returns {@code Integer.MAX_VALUE}.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 15K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/graph/NetworkMutationTest.java

    import org.junit.runners.JUnit4;
    
    /** Tests for repeated node and edge addition and removal in a {@link Network}. */
    @RunWith(JUnit4.class)
    
    public final class NetworkMutationTest {
      private static final int NUM_TRIALS = 5;
      private static final int NUM_NODES = 20;
      private static final int NUM_EDGES = 100;
      private static final int NODE_POOL_SIZE = 1000; // must be >> NUM_NODES
    
      @Test
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 10 19:42:18 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

         *
         * <p>Since the last element of the array is actually in the middle of the sorted structure, a
         * childless aunt node could be smaller, which would corrupt the invariant if this element
         * becomes the new parent of the aunt node. In that case, we first switch the last element with
         * its aunt node, before returning.
         */
        int swapWithConceptuallyLastElement(E actualLastElement) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 34K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/escape/ArrayBasedUnicodeEscaperTest.java

              protected char[] escapeUnsafe(int c) {
                return ("{" + (char) c + "}").toCharArray();
              }
            };
        EscaperAsserts.assertBasic(wrappingEscaper);
        // '[' and '@' lie either side of [A-Z].
        assertEquals("{[}FOO{@}BAR{]}", wrappingEscaper.escape("[FOO@BAR]"));
      }
    
      public void testDeleteUnsafeChars() throws IOException {
        UnicodeEscaper deletingEscaper =
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 07 23:02:38 GMT 2024
    - 5K bytes
    - Viewed (0)
  8. README.md

    flavor.
    
    -   Snapshot API Docs: [guava][guava-snapshot-api-docs]
    -   Snapshot API Diffs: [guava][guava-snapshot-api-diffs]
    
    ## Learn about Guava
    
    -   Our users' guide, [Guava Explained]
    -   [A nice collection](https://www.tfnico.com/presentations/google-guava) of
        other helpful links
    
    ## Links
    
    -   [GitHub project](https://github.com/google/guava)
    Plain Text
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableBiMap.java

        throw new InvalidObjectException("Use SerializedForm");
      }
    
      /**
       * Not supported. Use {@link #toImmutableBiMap} instead. This method exists only to hide {@link
       * ImmutableMap#toImmutableMap(Function, Function)} from consumers of {@code ImmutableBiMap}.
       *
       * @throws UnsupportedOperationException always
       * @deprecated Use {@link ImmutableBiMap#toImmutableBiMap}.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 22.4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableSortedSet.java

      Object writeReplace() {
        return new SerializedForm<E>(comparator, toArray());
      }
    
      /**
       * Not supported. Use {@link #toImmutableSortedSet} instead. This method exists only to hide
       * {@link ImmutableSet#toImmutableSet} from consumers of {@code ImmutableSortedSet}.
       *
       * @throws UnsupportedOperationException always
       * @deprecated Use {@link ImmutableSortedSet#toImmutableSortedSet}.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 38.5K bytes
    - Viewed (0)
Back to top