Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 29 for self (0.16 sec)

  1. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

        void setValue(E entry, V value) {
          this.map.entryHelper.setValue(self(), entry, value);
        }
    
        /** Returns a copy of the given {@code entry}. */
        @CheckForNull
        E copyEntry(E original, E newNext) {
          return this.map.entryHelper.copy(self(), original, newNext);
        }
    
        AtomicReferenceArray<E> newEntryArray(int size) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 91.9K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionContainsAllTester.java

            "containsAll(sameElements) should return true",
            collection.containsAll(MinimalCollection.of(createSamplesArray())));
      }
    
      @SuppressWarnings("ModifyingCollectionWithItself")
      public void testContainsAll_self() {
        assertTrue("containsAll(this) should return true", collection.containsAll(collection));
      }
    
      public void testContainsAll_partialOverlap() {
        assertFalse(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/graph/Network.java

       * network that does not allow them will throw an {@link IllegalArgumentException}.
       */
      boolean allowsParallelEdges();
    
      /**
       * Returns true if this network allows self-loops (edges that connect a node to itself).
       * Attempting to add a self-loop to a network that does not allow them will throw an {@link
       * IllegalArgumentException}.
       */
      boolean allowsSelfLoops();
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 21.1K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/PerCollectionSizeTestSuiteBuilder.java

     * CollectionSize} present in the features specified by {@link #withFeatures(Feature...)}.
     *
     * @param <B> The concrete type of this builder (the 'self-type'). All the Builder methods of this
     *     class (such as {@link #named(String)}) return this type, so that Builder methods of more
     *     derived classes can be chained onto them without casting.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/graph/AbstractNetworkTest.java

          "Collection returned is unexpectedly modifiable";
      static final String ERROR_SELF_LOOP = "self-loops are not allowed";
      static final String ERROR_EDGE_NOT_IN_GRAPH =
          "Should not be allowed to pass an edge that is not an element of the graph.";
      static final String ERROR_ADDED_SELF_LOOP = "Should not be allowed to add a self-loop edge.";
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 33K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/graph/AbstractNetworkTest.java

          "Collection returned is unexpectedly modifiable";
      static final String ERROR_SELF_LOOP = "self-loops are not allowed";
      static final String ERROR_EDGE_NOT_IN_GRAPH =
          "Should not be allowed to pass an edge that is not an element of the graph.";
      static final String ERROR_ADDED_SELF_LOOP = "Should not be allowed to add a self-loop edge.";
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 32.7K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/PerCollectionSizeTestSuiteBuilder.java

     * CollectionSize} present in the features specified by {@link #withFeatures(Feature...)}.
     *
     * @param <B> The concrete type of this builder (the 'self-type'). All the Builder methods of this
     *     class (such as {@link #named(String)}) return this type, so that Builder methods of more
     *     derived classes can be chained onto them without casting.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/graph/DirectedGraphConnections.java

        int successorCount = 0;
    
        for (EndpointPair<N> incidentEdge : incidentEdges) {
          if (incidentEdge.nodeU().equals(thisNode) && incidentEdge.nodeV().equals(thisNode)) {
            // incidentEdge is a self-loop
    
            adjacentNodeValues.put(thisNode, new PredAndSucc(successorNodeToValueFn.apply(thisNode)));
    
            orderedNodeConnectionsBuilder.add(new NodeConnection.Pred<>(thisNode));
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 18K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/Helpers.java

      public static <K extends Comparable, V extends @Nullable Object>
          Iterable<Entry<K, V>> orderEntriesByKey(List<Entry<K, V>> insertionOrder) {
        @SuppressWarnings("unchecked") // assume any Comparable is Comparable<Self>
        Comparator<? super K> keyComparator = (Comparator<? super K>) Comparable::compareTo;
        sort(insertionOrder, Helpers.entryComparator(keyComparator));
        return insertionOrder;
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 17.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/graph/GraphConstants.java

              + "that allows parallel edges, call allowsParallelEdges(true) on the Builder.";
      static final String SELF_LOOPS_NOT_ALLOWED =
          "Cannot add self-loop edge on node %s, as self-loops are not allowed. To construct a graph "
              + "that allows self-loops, call allowsSelfLoops(true) on the Builder.";
      static final String NOT_AVAILABLE_ON_UNDIRECTED =
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 3.1K bytes
    - Viewed (0)
Back to top