Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 218 for Hafner (0.2 sec)

  1. android/guava/src/com/google/common/base/Joiner.java

       */
      public MapJoiner withKeyValueSeparator(String keyValueSeparator) {
        return new MapJoiner(this, keyValueSeparator);
      }
    
      /**
       * An object that joins map entries in the same manner as {@code Joiner} joins iterables and
       * arrays. Like {@code Joiner}, it is thread-safe and immutable.
       *
       * <p>In addition to operating on {@code Map} instances, {@code MapJoiner} can operate on {@code
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 18.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java

        CountingRunnable after = new CountingRunnable();
    
        future.addListener(before, directExecutor());
        future.setFuture(delegate);
        future.addListener(inBetween, directExecutor());
        delegate.set(1);
        future.addListener(after, directExecutor());
    
        before.assertRun();
        inBetween.assertRun();
        after.assertRun();
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 15.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/DenseImmutableTable.java

      @SuppressWarnings("Immutable") // We don't modify this after construction.
      private final int[] rowCounts;
    
      @SuppressWarnings("Immutable") // We don't modify this after construction.
      private final int[] columnCounts;
    
      @SuppressWarnings("Immutable") // We don't modify this after construction.
      private final @Nullable V[][] values;
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 10K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

          }
          return message.toString();
        }
      }
    
      /**
       * Internal Lock implementations implement the {@code CycleDetectingLock} interface, allowing the
       * detection logic to treat all locks in the same manner.
       */
      private interface CycleDetectingLock {
    
        /** @return the {@link LockGraphNode} associated with this lock. */
        LockGraphNode getLockGraphNode();
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 35.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/Suppliers.java

              + ")";
        }
      }
    
      /**
       * Returns a supplier that caches the instance supplied by the delegate and removes the cached
       * value after the specified time has passed. Subsequent calls to {@code get()} return the cached
       * value if the expiration time has not passed. After the expiration time, a new value is
       * retrieved, cached, and returned. See: <a
       * href="http://en.wikipedia.org/wiki/Memoization">memoization</a>
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/SequentialExecutor.java

            if (!(t instanceof RejectedExecutionException) || removed) {
              throw t;
            }
          }
          return;
        }
    
        /*
         * This is an unsynchronized read! After the read, the function returns immediately or acquires
         * the lock to check again. Since an IDLE state was observed inside the preceding synchronized
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java

          if (trySplit != null) {
            assertEquals(
                "sum of estimated sizes of trySplit and original spliterator after trySplit",
                originalSize,
                trySplit.estimateSize() + spliterator.estimateSize());
          } else {
            assertEquals(
                "estimated size of spliterator after failed trySplit",
                originalSize,
                spliterator.estimateSize());
          }
        }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 18:19:31 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableSetMultimap.java

       *         .putAll('a', Arrays.asList('s', 'p', 'a', 'r', 'a', 'g', 'u', 's'))
       *         .putAll('c', Arrays.asList('h', 'e', 'r', 'r', 'y'))
       *         .build();
       *
       * // after deduplication, the resulting multimap is equivalent to
       *
       * static final ImmutableSetMultimap<Character, Character> FIRST_LETTER_MULTIMAP =
       *     ImmutableSetMultimap.<Character, Character>builder()
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        assertFalse("Capable of acquiring an additional permit", r.tryAcquire());
        stopwatch.sleepMillis(Integer.MAX_VALUE);
        assertFalse("Capable of acquiring an additional permit after sleeping", r.tryAcquire());
      }
    
      public void testSimpleRateUpdate() {
        RateLimiter limiter = RateLimiter.create(5.0, 5, SECONDS);
        assertEquals(5.0, limiter.getRate());
        limiter.setRate(10.0);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.6K bytes
    - Viewed (0)
  10. android/guava-testlib/test/com/google/common/testing/EqualsTesterTest.java

        try {
          equalsTester.addEqualityGroup((Object) null);
          fail("Should fail on null reference");
        } catch (NullPointerException e) {
        }
      }
    
      /** Test equalObjects after adding multiple instances at once with a null */
      public void testAddTwoEqualObjectsAtOnceWithNull() {
        try {
          equalsTester.addEqualityGroup(reference, equalObject1, null);
          fail("Should fail on null equal object");
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 17 15:49:06 GMT 2023
    - 12.9K bytes
    - Viewed (0)
Back to top