Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 127 for myself (0.17 sec)

  1. 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)
  2. 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)
  3. guava-tests/test/com/google/common/collect/SetOperationsTest.java

                        checkArgument(elements.length == 1);
                        return Sets.union(Sets.<String>newHashSet(elements), Sets.newHashSet(elements));
                      }
                    })
                .named("singleton U itself")
                .withFeatures(CollectionSize.ONE, CollectionFeature.ALLOWS_NULL_VALUES)
                .createTestSuite());
    
        suite.addTest(
            SetTestSuiteBuilder.using(
                    new TestStringSetGenerator() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 14.7K 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. guava/src/com/google/common/collect/HashMultiset.java

        return new HashMultiset<>(distinctElements);
      }
    
      /**
       * Creates a new {@code HashMultiset} containing the specified elements.
       *
       * <p>This implementation is highly efficient when {@code elements} is itself a {@link Multiset}.
       *
       * @param elements the elements that the multiset should contain
       */
      public static <E extends @Nullable Object> HashMultiset<E> create(
          Iterable<? extends E> elements) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycleExecutor.java

    import org.apache.maven.project.MavenProject;
    
    /**
     * A facade that provides lifecycle services to components outside maven core.
     * <p>
     * Note that this component is not normally used from within core itself.
     *
     */
    @Named
    @Singleton
    public class DefaultLifecycleExecutor implements LifecycleExecutor {
    
        private final LifeCyclePluginAnalyzer lifeCyclePluginAnalyzer;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 23:31:09 GMT 2024
    - 7K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/testers/ListAddAllAtIndexTester.java

        assertTrue("addAll(n, containsNull) should return true", getList().addAll(0, containsNull));
        /*
         * We need (E) to force interpretation of null as the single element of a
         * varargs array, not the array itself
         */
        expectAdded(0, (E) null);
      }
    
      @ListFeature.Require(SUPPORTS_ADD_WITH_INDEX)
      @CollectionFeature.Require(absent = ALLOWS_NULL_VALUES)
      public void testAddAllAtIndex_nullUnsupported() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/AbstractIteratorTest.java

          fail("No exception thrown");
        } catch (Exception e) {
          if (!(e instanceof SomeCheckedException)) {
            throw e;
          }
        }
    
        // But the second time, AbstractIterator itself throws an ISE
        try {
          iter.hasNext();
          fail("No exception thrown");
        } catch (IllegalStateException expected) {
        }
      }
    
      public void testException() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top