Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 239 for have (0.14 sec)

  1. guava-testlib/test/com/google/common/testing/TearDownStackTest.java

                    "tearDownTwo should have been run before tearDownOne", false, tearDownOne.ran);
              }
            };
    
        final SimpleTearDown tearDownTwo = new SimpleTearDown(callback);
        stack.addTearDown(tearDownTwo);
    
        assertEquals(false, tearDownOne.ran);
        assertEquals(false, tearDownTwo.ran);
    
        stack.runTearDown();
    
        assertEquals("tearDownOne should have run", true, tearDownOne.ran);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 15:19:38 GMT 2023
    - 4.6K bytes
    - Viewed (0)
  2. guava-testlib/test/com/google/common/collect/testing/features/FeatureEnumTest.java

    import java.lang.reflect.Method;
    import java.util.Locale;
    import junit.framework.TestCase;
    
    /**
     * Since annotations have some reusability issues that force copy and paste all over the place, it's
     * worth having a test to ensure that all our Feature enums have their annotations correctly set up.
     *
     * @author George van den Driessche
     */
    public class FeatureEnumTest extends TestCase {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.4K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/util/concurrent/testing/TestingExecutors.java

       * tasks. Second, the returned list will always be empty, as any submitted task is considered to
       * have started execution. This applies also to tasks given to {@code invokeAll} or {@code
       * invokeAny} which are pending serial execution, even the subset of the tasks that have not yet
       * started execution. It is unclear from the {@code ExecutorService} specification if these should
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri May 26 22:04:00 GMT 2023
    - 6.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/io/PatternFilenameFilter.java

       * someone still manages to pass null, let's continue to have the method work.
       *
       * (PatternFilenameFilter is of course one of those classes that shouldn't be a publicly visible
       * class to begin with but rather something returned from a static factory method whose declared
       * return type is plain FilenameFilter. If we made such a change, then the annotation we choose
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/MinimalIterable.java

     * second invocation, so implementors have made various choices, including:
     *
     * <ul>
     *   <li>returning the same iterator again
     *   <li>throwing an exception of some kind
     *   <li>or the usual, <i>robust</i> behavior, which all known {@link Collection} implementations
     *       have, of returning a new, independent iterator
     * </ul>
     *
    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)
  6. guava/src/com/google/common/base/Predicate.java

      /**
       * Returns the result of applying this predicate to {@code input} (Java 8+ users, see notes in the
       * class documentation above). This method is <i>generally expected</i>, but not absolutely
       * required, to have the following properties:
       *
       * <ul>
       *   <li>Its execution does not cause any observable side effects.
       *   <li>The computation is <i>consistent with equals</i>; that is, {@link Objects#equal
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/NullnessCasts.java

      /**
       * Accepts a {@code @Nullable T} and returns a plain {@code T}, without performing any check that
       * that conversion is safe.
       *
       * <p>This method is intended to help with usages of type parameters that have {@linkplain
       * ParametricNullness parametric nullness}. If a type parameter instead ranges over only non-null
       * types (or if the type is a non-variable type, like {@code String}), then code should almost
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 10 20:36:34 GMT 2022
    - 3.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/escape/ArrayBasedUnicodeEscaper.java

     * single character '{@code \}{@code u1000}' will require approximately 16K of memory. If you need
     * to create multiple escaper instances that have the same character replacement mapping consider
     * using {@link ArrayBasedEscaperMap}.
     *
     * @author David Beaumont
     * @since 15.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 8.5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/JdkBackedImmutableMap.java

      /**
       * Creates an {@code ImmutableMap} backed by a JDK HashMap. Used when probable hash flooding is
       * detected. This implementation may replace the entries in entryArray with its own entry objects
       * (though they will have the same key/value contents), and will take ownership of entryArray.
       */
      static <K, V> ImmutableMap<K, V> create(
          int n, @Nullable Entry<K, V>[] entryArray, boolean throwIfDuplicateKeys) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/GwtFuturesCatchingSpecialization.java

     * the {@link Futures#catching(ListenableFuture, Class, com.google.common.base.Function,
     * java.util.concurrent.Executor) Futures.catching} family of methods. Those versions have slightly
     * different signatures.
     */
    @GwtCompatible(emulated = true)
    @J2ktIncompatible // Super-sourced
    @ElementTypesAreNonnullByDefault
    abstract class GwtFuturesCatchingSpecialization {
      /*
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 1.4K bytes
    - Viewed (0)
Back to top