Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 77 for Family (1.11 sec)

  1. android/guava/src/com/google/common/collect/Multimaps.java

       * and {@code get()} will return a general {@code Collection} as opposed to a {@code List} or a
       * {@code Set}.
       *
       * <p>The function is applied lazily, invoked when needed. This is necessary for the returned
       * multimap to be a view, but it means that the function will be applied many times for bulk
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 86.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

         * outputFuture is the future we return to the caller, a nonCancellationPropagating taskFuture.
         *
         * newFuture is guaranteed to only complete once all tasks previously submitted to this instance
         * have completed - namely after oldFuture is done, and taskFuture has either completed or been
         * cancelled before the callable started execution.
         */
        SettableFuture<@Nullable Void> newFuture = SettableFuture.create();
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 22.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java

      }
    
      public void testToString() {
        // We can easily afford to test this exhaustively.
        for (int i = 0; i <= 0xff; i++) {
          assertThat(UnsignedBytes.toString((byte) i)).isEqualTo(Integer.toString(i));
        }
      }
    
      public void testToStringWithRadix() {
        // We can easily afford to test this exhaustively.
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  4. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/AggregateFutureState.java

    /** Emulation of AggregateFutureState. */
    @ElementTypesAreNonnullByDefault
    abstract class AggregateFutureState<OutputT extends @Nullable Object>
        extends AbstractFuture.TrustedFuture<OutputT> {
      // Lazily initialized the first time we see an exception; not released until all the input futures
      // & this future completes. Released when the future releases the reference to the running state
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Dec 08 20:30:27 GMT 2022
    - 1.7K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/Splitter.java

        return new Splitter(strategy, omitEmptyStrings, trimmer, limit);
      }
    
      /**
       * Splits {@code sequence} into string components and makes them available through an {@link
       * Iterator}, which may be lazily evaluated. If you want an eagerly computed {@link List}, use
       * {@link #splitToList(CharSequence)}. Java 8+ users may prefer {@link #splitToStream} instead.
       *
       * @param sequence the sequence of characters to split
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 24.4K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/escape/UnicodeEscaperTest.java

        final int s1 = min + (1 * range) / 4;
        final int s2 = min + (2 * range) / 4;
        final int s3 = min + (3 * range) / 4;
        final char[] dst = new char[12];
    
        // Put surrogate pairs at odd indices so they can be split easily
        dst[0] = 'x';
        Character.toChars(min, dst, 1);
        Character.toChars(s1, dst, 3);
        Character.toChars(s2, dst, 5);
        Character.toChars(s3, dst, 7);
        Character.toChars(max, dst, 9);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 6.2K bytes
    - Viewed (0)
  7. guava/src/com/google/common/base/Converter.java

     *
     * [*] In annotating this class, we're ignoring LegacyConverter.
     */
    public abstract class Converter<A, B> implements Function<A, B> {
      private final boolean handleNullAutomatically;
    
      // We lazily cache the reverse view to avoid allocating on every call to reverse().
      @LazyInit @RetainedWith @CheckForNull private transient Converter<B, A> reverse;
    
      /** Constructor for use by subclasses. */
      protected Converter() {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 23K bytes
    - Viewed (1)
  8. guava-tests/test/com/google/common/collect/ConcurrentHashMultisetTest.java

        assertThrows(IllegalArgumentException.class, () -> multiset.add(KEY, COUNT_TO_ADD));
      }
    
      /**
       * Simulate some of the races that can happen on add. We can't easily simulate the race that
       * happens when an {@link AtomicInteger#compareAndSet} fails, but we can simulate the case where
       * the putIfAbsent returns a non-null value, and the case where the replace() of an observed zero
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 14.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/hash/Striped64.java

     * so.
     */
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    abstract class Striped64 extends Number {
      /*
       * This class maintains a lazily-initialized table of atomically
       * updated variables, plus an extra "base" field. The table size
       * is a power of two. Indexing uses masked per-thread hash codes.
       * Nearly all declarations in this class are package-private,
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Maps.java

       * values, if the function sometimes gives a null result.
       *
       * <p>The returned map is not thread-safe or serializable, even if the underlying map is.
       *
       * <p>The function is applied lazily, invoked when needed. This is necessary for the returned map
       * to be a view, but it means that the function will be applied many times for bulk operations
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 159.6K bytes
    - Viewed (0)
Back to top