Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 62 for rotation (0.19 sec)

  1. android/guava/src/com/google/common/net/HostSpecifier.java

    import java.text.ParseException;
    import javax.annotation.CheckForNull;
    
    /**
     * A syntactically valid host specifier, suitable for use in a URI. This may be either a numeric IP
     * address in IPv4 or IPv6 notation, or a domain name.
     *
     * <p>Because this class is intended to represent host specifiers which can reasonably be used in a
     * URI, the domain name case is further restricted to include only those domain names which end in a
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 05 09:18:40 GMT 2023
    - 6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/graph/EndpointPairTest.java

            .addEqualityGroup(unordered, unorderedMirror)
            .testEquals();
      }
    
      // Tests for Graph.edges() and Network.asGraph().edges() methods
      // TODO(user): Move these to a more appropriate location in the test suite.
    
      @Test
      public void endpointPair_directedGraph() {
        MutableGraph<Integer> directedGraph = GraphBuilder.directed().allowsSelfLoops(true).build();
        directedGraph.addNode(N0);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 9.4K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java

        for (E e : getSubjectGenerator().order(new ArrayList<E>(getSampleElements()))) {
          list.add(e);
        }
        return Collections.unmodifiableList(list);
      }
    
      /**
       * @return a suitable location for a null element, to use when initializing containers for tests
       *     that involve a null element being present.
       */
      protected int getNullLocation() {
        return getNumElements() / 2;
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/graph/EndpointPairTest.java

            .addEqualityGroup(unordered, unorderedMirror)
            .testEquals();
      }
    
      // Tests for Graph.edges() and Network.asGraph().edges() methods
      // TODO(user): Move these to a more appropriate location in the test suite.
    
      @Test
      public void endpointPair_directedGraph() {
        MutableGraph<Integer> directedGraph = GraphBuilder.directed().allowsSelfLoops(true).build();
        directedGraph.addNode(N0);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 9.4K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/graph/AbstractStandardDirectedGraphTest.java

       */
      private void populateStarShapedGraph() {
        putEdge(2, 1);
        putEdge(1, 4);
        putEdge(1, 3);
        putEdge(5, 1);
        putEdge(1, 2);
        putEdge(3, 1);
      }
    
      // Element Mutation
    
      @Test
      public void putEdge_existingNodes() {
        assume().that(graphIsMutable()).isTrue();
    
        // Adding nodes initially for safety (insulating from possible future
        // modifications to proxy methods)
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 14.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/graph/AbstractStandardDirectedNetworkTest.java

        addEdge(N1, N1, E11);
        assertThat(network.outDegree(N1)).isEqualTo(1);
        addEdge(N1, N2, E12);
        assertThat(network.outDegree(N1)).isEqualTo(2);
      }
    
      // Element Mutation
    
      @Test
      public void addEdge_existingNodes() {
        assume().that(graphIsMutable()).isTrue();
    
        // Adding nodes initially for safety (insulating from possible future
        // modifications to proxy methods)
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/graph/ValueGraph.java

     * {@link Network}. (You can use a positive {@code Integer} edge value as a loose representation of
     * edge multiplicity, but the {@code *degree()} and mutation methods will not reflect your
     * interpretation of the edge value as its multiplicity.)
     *
     * <h3>Building a {@code ValueGraph}</h3>
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 15K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/CompactHashSet.java

              entryIndex = next - 1;
              entry = entries[entryIndex];
              next = CompactHashing.getNext(entry, mask);
            } while (next != srcNext);
            // here, entries[entryIndex] points to the old entry location; update it
            entries[entryIndex] = CompactHashing.maskCombine(entry, dstIndex + 1, mask);
          }
        } else {
          elements[dstIndex] = null;
          entries[dstIndex] = 0;
        }
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 05 21:38:59 GMT 2024
    - 24K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Multiset.java

       * given object is also a multiset and contains equal elements with equal counts, regardless of
       * order.
       */
      @Override
      // TODO(kevinb): caveats about equivalence-relation?
      boolean equals(@CheckForNull Object object);
    
      /**
       * Returns the hash code for this multiset. This is defined as the sum of
       *
       * <pre>{@code
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sat Jun 17 14:40:53 GMT 2023
    - 19.7K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

       *       static factory method whose return type is {@code cls} or {@code cls}'s subtype.
       *   <li>Inequality check is not performed against state mutation methods such as {@link
       *       List#add}, or functional update methods such as {@link
       *       com.google.common.base.Joiner#skipNulls}.
       * </ul>
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 08 17:31:55 GMT 2024
    - 33K bytes
    - Viewed (0)
Back to top