Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 176 for do (0.14 sec)

  1. guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddAllTester.java

       * Returns the {@link Method} instance for {@link #testAddAll_nullUnsupported()} so that tests can
       * suppress it with {@code FeatureSpecificTestSuiteBuilder.suppressing()} until <a
       * href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5045147">Sun bug 5045147</a> is fixed.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getAddAllNullUnsupportedMethod() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

      }
    
      /**
       * Verifies that a collection is immutable.
       *
       * <p>A collection is considered immutable if:
       *
       * <ol>
       *   <li>All its mutation methods result in UnsupportedOperationException, and do not change the
       *       underlying contents.
       *   <li>All methods that return objects that can indirectly mutate the collection throw
       *       UnsupportedOperationException when those mutators are called.
       * </ol>
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 14.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

     *       platforms.
     *   <li>All threads generated must be joined inside each test case method (or {@code fail} to do
     *       so) before returning from the method. The {@code joinPool} method can be used to do this
     *       when using Executors.
     * </ol>
     *
     * <p><b>Other notes</b>
     *
     * <ul>
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 37.7K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/MinimalIterable.java

      private MinimalIterable(Iterator<E> iterator) {
        this.iterator = iterator;
      }
    
      @Override
      public Iterator<E> iterator() {
        if (iterator == null) {
          // TODO: throw something else? Do we worry that people's code and tests
          // might be relying on this particular type of exception?
          throw new IllegalStateException();
        }
        try {
          return iterator;
        } finally {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/CallablesTest.java

              @Override
              public void checkAccess(Thread t) {
                throw new SecurityException();
              }
    
              @Override
              public void checkPermission(Permission perm) {
                // Do nothing so we can clear the security manager at the end
              }
            });
        try {
          final String oldName = Thread.currentThread().getName();
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

       * containing one element (the given set itself).
       *
       * <p>Despite the method name, this method attempts to avoid actually copying the data when it is
       * safe to do so. The exact circumstances under which a copy will or will not be performed are
       * undocumented and subject to change.
       *
       * <p>This method is not type-safe, as it may be called on elements that are not mutually
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/base/EquivalenceTest.java

            .testEquals();
      }
    
      /*
       * We use large numbers to avoid the integer cache. Normally, we'd accomplish that merely by using
       * `new Integer` (as we do) instead of `Integer.valueOf`. However, under J2KT, `new Integer`
       * gets translated back to `Integer.valueOf` because that is the only thing J2KT can support. And
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/reflect/ImmutableTypeToInstanceMapTest.java

            MapTestSuiteBuilder.using(
                    new TestTypeToInstanceMapGenerator() {
                      // Other tests will verify what real, warning-free usage looks like
                      // but here we have to do some serious fudging
                      @Override
                      @SuppressWarnings({"unchecked", "rawtypes"})
                      public Map<TypeToken, Object> create(Object... elements) {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/testers/MapPutAllTester.java

       * can suppress it with {@code FeatureSpecificTestSuiteBuilder.suppressing()} until <a
       * href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5045147">Sun bug 5045147</a> is fixed.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getPutAllNullKeyUnsupportedMethod() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/hash/Hashing.java

       * the returned function implements is unspecified and subject to change without notice.
       *
       * <p><b>Warning:</b> a new random seed for these functions is chosen each time the {@code
       * Hashing} class is loaded. <b>Do not use this method</b> if hash codes may escape the current
       * process in any way, for example being sent over RPC, or saved to disk. For a general-purpose,
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 09 00:37:15 GMT 2024
    - 29.2K bytes
    - Viewed (0)
Back to top