Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for Erling (0.17 sec)

  1. guava-tests/test/com/google/common/reflect/ImmutableTypeToInstanceMapTest.java

        assertEquals(1, map.size());
        assertEquals(ImmutableList.of(1), map.getInstance(type));
      }
    
      public void testGenericArrayType() {
        @SuppressWarnings("unchecked") // Trying to test generic array
        ImmutableList<Integer>[] array =
            (ImmutableList<Integer>[]) new ImmutableList<?>[] {ImmutableList.of(1)};
    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)
  2. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

       */
      protected abstract Iterable<? extends Stimulus<E, ? super I>> getStimulusValues();
    
      /**
       * Returns a new target iterator each time it's called. This is the iterator you are trying to
       * test. This must return an Iterator that returns the expected elements passed to the constructor
       * in the given order. Warning: it is not enough to simply pull multiple iterators from the same
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/Monitor.java

      //      since, after all, this class is also a reentrant mutual exclusion lock!?
    
      /*
       * One of the key challenges of this class is to prevent lost signals, while trying hard to
       * minimize unnecessary signals. One simple and correct algorithm is to signal some other waiter
       * with a satisfied guard (if one exists) whenever any thread occupying the monitor exits the
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 18:22:01 GMT 2023
    - 38.6K bytes
    - Viewed (0)
  4. .github/ISSUE_TEMPLATE/feature_enhancement_request.yaml

    name: Feature Enhancement Request
    description: I want to make an existing feature better
    labels: ["type=enhancement"]
    body:
      - type: markdown
        attributes:
          value: >
            Filing feature requests is one of the most popular ways to contribute to Guava.
    
    
            Be aware, though: most feature requests are not accepted, even if they're suggested by
            a full-time Guava team member. [Feedback](https://stackoverflow.com/a/4543114) from our
    Others
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Nov 17 18:47:47 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/reflect/ImmutableTypeToInstanceMapTest.java

        assertEquals(1, map.size());
        assertEquals(ImmutableList.of(1), map.getInstance(type));
      }
    
      public void testGenericArrayType() {
        @SuppressWarnings("unchecked") // Trying to test generic array
        ImmutableList<Integer>[] array =
            (ImmutableList<Integer>[]) new ImmutableList<?>[] {ImmutableList.of(1)};
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/reflect/MutableTypeToInstanceMapTest.java

        assertEquals(1, map.size());
        assertEquals(ImmutableList.of(1), map.getInstance(type));
      }
    
      public void testGenericArrayType() {
        @SuppressWarnings("unchecked") // Trying to test generic array
        ImmutableList<Integer>[] array =
            (ImmutableList<Integer>[]) new ImmutableList<?>[] {ImmutableList.of(1)};
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 7.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

      private static final class Failure {
        static final Failure FALLBACK_INSTANCE =
            new Failure(
                new Throwable("Failure occurred while trying to finish a future.") {
                  @Override
                  public synchronized Throwable fillInStackTrace() {
                    return this; // no stack trace
                  }
                });
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

       */
      protected abstract Iterable<? extends Stimulus<E, ? super I>> getStimulusValues();
    
      /**
       * Returns a new target iterator each time it's called. This is the iterator you are trying to
       * test. This must return an Iterator that returns the expected elements passed to the constructor
       * in the given order. Warning: it is not enough to simply pull multiple iterators from the same
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

      public void testTransform_StackOverflow() throws Exception {
        {
          /*
           * Initialize all relevant classes before running the test, which may otherwise poison any
           * classes it is trying to load during its stack overflow.
           */
          SettableFuture<Object> root = SettableFuture.create();
          ListenableFuture<Object> unused = transform(root, identity(), directExecutor());
          root.set("foo");
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/Converter.java

     * existing users, but it can't *fix* existing users because any users who needed
     * `Function<@Nullable A, @Nullable B>` already had to find a workaround. Still, there is a *ton* of
     * fallout from trying to switch. I would be shocked if the switch would offer benefits to anywhere
     * near enough users to justify the costs.
     *
     * Fortunately, if anyone does want to use a Converter as a `Function<@Nullable A, @Nullable B>`,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 23K bytes
    - Viewed (0)
Back to top