Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for self (0.14 sec)

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

      static <E extends @Nullable Object> boolean addAllImpl(
          Multiset<E> self, Collection<? extends E> elements) {
        checkNotNull(self);
        checkNotNull(elements);
        if (elements instanceof Multiset) {
          return addAllImpl(self, cast(elements));
        } else if (elements.isEmpty()) {
          return false;
        } else {
          return Iterators.addAll(self, elements.iterator());
        }
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/Collections2.java

       * @param self a collection which might contain all elements in {@code c}
       * @param c a collection whose elements might be contained by {@code self}
       */
      static boolean containsAllImpl(Collection<?> self, Collection<?> c) {
        for (Object o : c) {
          if (!self.contains(o)) {
            return false;
          }
        }
        return true;
      }
    
      /** An implementation of {@link Collection#toString()}. */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  3. 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 Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

      protected B usingGenerator(G subjectGenerator) {
        this.subjectGenerator = subjectGenerator;
        return self();
      }
    
      public G getSubjectGenerator() {
        return subjectGenerator;
      }
    
      @CanIgnoreReturnValue
      public B withSetUp(Runnable setUp) {
        this.setUp = setUp;
        return self();
      }
    
      public Runnable getSetUp() {
        return setUp;
      }
    
      @CanIgnoreReturnValue
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

      protected B usingGenerator(G subjectGenerator) {
        this.subjectGenerator = subjectGenerator;
        return self();
      }
    
      public G getSubjectGenerator() {
        return subjectGenerator;
      }
    
      @CanIgnoreReturnValue
      public B withSetUp(Runnable setUp) {
        this.setUp = setUp;
        return self();
      }
    
      public Runnable getSetUp() {
        return setUp;
      }
    
      @CanIgnoreReturnValue
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/graph/ValueGraph.java

       * undirected edges connect a pair of nodes to each other.
       */
      @Override
      boolean isDirected();
    
      /**
       * Returns true if this graph allows self-loops (edges that connect a node to itself). Attempting
       * to add a self-loop to a graph that does not allow them will throw an {@link
       * IllegalArgumentException}.
       */
      @Override
      boolean allowsSelfLoops();
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 15K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Collections2.java

       * @param self a collection which might contain all elements in {@code c}
       * @param c a collection whose elements might be contained by {@code self}
       */
      static boolean containsAllImpl(Collection<?> self, Collection<?> c) {
        for (Object o : c) {
          if (!self.contains(o)) {
            return false;
          }
        }
        return true;
      }
    
      /** An implementation of {@link Collection#toString()}. */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 22.8K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/graph/AbstractGraphTest.java

      // here too.
      static final String ERROR_MODIFIABLE_SET = "Set returned is unexpectedly modifiable";
      static final String ERROR_SELF_LOOP = "self-loops are not allowed";
      static final String ERROR_ADDED_SELF_LOOP = "Should not be allowed to add a self-loop edge.";
    
      /** Creates and returns an instance of the graph to be tested. */
      abstract Graph<Integer> createGraph();
    
      /**
    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)
  9. android/guava/src/com/google/common/graph/Graph.java

       * undirected edges connect a pair of nodes to each other.
       */
      @Override
      boolean isDirected();
    
      /**
       * Returns true if this graph allows self-loops (edges that connect a node to itself). Attempting
       * to add a self-loop to a graph that does not allow them will throw an {@link
       * IllegalArgumentException}.
       */
      @Override
      boolean allowsSelfLoops();
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/graph/BaseGraph.java

       * undirected edges connect a pair of nodes to each other.
       */
      boolean isDirected();
    
      /**
       * Returns true if this graph allows self-loops (edges that connect a node to itself). Attempting
       * to add a self-loop to a graph 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
    - 8.8K bytes
    - Viewed (0)
Back to top