Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for notes (0.15 sec)

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

       * natural ordering.
       *
       * <p><b>Note:</b> if mutability is not required, use {@link ImmutableSortedSet#copyOf(Iterable)}
       * instead.
       *
       * <p><b>Note:</b> If {@code elements} is a {@code SortedSet} with an explicit comparator, this
       * method has different behavior than {@link TreeSet#TreeSet(SortedSet)}, which returns a {@code
       * TreeSet} with that comparator.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

          return new ImmutableSortedMap<>(
              ImmutableSortedSet.emptySet(comparator), ImmutableList.<V>of());
        }
      }
    
      /**
       * Returns the empty sorted map.
       *
       * <p><b>Performance note:</b> the instance returned is a singleton.
       */
      @SuppressWarnings("unchecked")
      // unsafe, comparator() returns a comparator on the specified type
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/IteratorsTest.java

        protected DoubletonIteratorTester() {
          super(5, MODIFIABLE, newArrayList(1, 2), IteratorTester.KnownOrder.KNOWN_ORDER);
        }
      }
    
      private static Iterator<Integer> iterateOver(int... values) {
        // Note: Ints.asList's iterator does not support remove which we need for testing.
        return new ArrayList<>(Ints.asList(values)).iterator();
      }
    
      public void testElementsEqual() {
        Iterable<?> a;
        Iterable<?> b;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 55.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/Preconditions.java

     *
     * <p>{@code Preconditions} uses {@link Strings#lenientFormat} to format error message template
     * strings. This only supports the {@code "%s"} specifier, not the full range of {@link
     * java.util.Formatter} specifiers. However, note that if the number of arguments does not match the
     * number of occurrences of {@code "%s"} in the format string, {@code Preconditions} will still
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 11 11:52:14 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/Futures.java

        Preconditions.checkNotNull(callback);
        future.addListener(new CallbackListener<V>(future, callback), executor);
      }
    
      /** See {@link #addCallback(ListenableFuture, FutureCallback, Executor)} for behavioral notes. */
      private static final class CallbackListener<V extends @Nullable Object> implements Runnable {
        final Future<V> future;
        final FutureCallback<? super V> callback;
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 59.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/Iterators.java

    /**
     * This class contains static utility methods that operate on or return objects of type {@link
     * Iterator}. Except as noted, each method has a corresponding {@link Iterable}-based method in the
     * {@link Iterables} class.
     *
     * <p><i>Performance notes:</i> Unless otherwise noted, all of the iterators produced in this class
     * are <i>lazy</i>, which means that they only advance the backing iteration when absolutely
     * necessary.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jan 30 00:14:39 GMT 2024
    - 50.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

            thread = null;
            LockSupport.unpark(w);
          }
        }
      }
    
      /**
       * Marks the given node as 'deleted' (null waiter) and then scans the list to unlink all deleted
       * nodes. This is an O(n) operation in the common case (and O(n^2) in the worst), but we are saved
       * by two things.
       *
       * <ul>
       *   <li>This is only called when a waiting thread times out or is interrupted. Both of which
    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. guava/src/com/google/common/collect/ImmutableSortedMap.java

          return new ImmutableSortedMap<>(
              ImmutableSortedSet.emptySet(comparator), ImmutableList.<V>of());
        }
      }
    
      /**
       * Returns the empty sorted map.
       *
       * <p><b>Performance note:</b> the instance returned is a singleton.
       */
      @SuppressWarnings("unchecked")
      // unsafe, comparator() returns a comparator on the specified type
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 50.3K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/MapsTest.java

       * won't cause a rehash.
       *
       * <p>As of jdk7u40, HashMap has an empty-map optimization. The argument to new HashMap(int) is
       * noted, but the initial table is a zero-length array.
       *
       * <p>This test may fail miserably on non-OpenJDK environments...
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 67.2K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/MapsTest.java

       * won't cause a rehash.
       *
       * <p>As of jdk7u40, HashMap has an empty-map optimization. The argument to new HashMap(int) is
       * noted, but the initial table is a zero-length array.
       *
       * <p>This test may fail miserably on non-OpenJDK environments...
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 64.3K bytes
    - Viewed (0)
Back to top