Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 96 for Lankes (4.18 sec)

  1. guava/src/com/google/common/collect/ImmutableRangeMap.java

        } else {
          Range<K> range = ranges.get(index);
          return range.contains(key) ? Maps.immutableEntry(range, values.get(index)) : null;
        }
      }
    
      @Override
      public Range<K> span() {
        if (ranges.isEmpty()) {
          throw new NoSuchElementException();
        }
        Range<K> firstRange = ranges.get(0);
        Range<K> lastRange = ranges.get(ranges.size() - 1);
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/TreeRangeMapTest.java

        for (Range<Integer> range : RANGES) {
          Map<Integer, Integer> model = Maps.newHashMap();
          putModel(model, range, 1);
          RangeMap<Integer, Integer> test = TreeRangeMap.create();
          test.put(range, 1);
          verify(model, test);
        }
      }
    
      public void testAllRangePairs() {
        for (Range<Integer> range1 : RANGES) {
          for (Range<Integer> range2 : RANGES) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 28K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Comparators.java

       * // returns {"foo", "quux"}
       * }</pre>
       *
       * <p>This {@code Collector} uses O(k) memory and takes expected time O(n) (worst-case O(n log
       * k)), as opposed to e.g. {@code Stream.sorted(comparator).limit(k)}, which currently takes O(n
       * log n) time and O(n) space.
       *
       * @throws IllegalArgumentException if {@code k < 0}
       * @since 33.2.0 (available since 22.0 in guava-jre)
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/CollectionFuture.java

       * on the fields of TimeoutFuture. This field is slightly different from the fields discussed
       * there: cancel() never reads this field, only writes to it. That makes the race here completely
       * harmless, rather than just 99.99% harmless.
       */
      @CheckForNull @LazyInit private List<@Nullable Present<V>> values;
    
      CollectionFuture(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/Throwables.java

       * by delaying the per-stack-frame work until each element is accessed. Roughly speaking:
       *
       * <ul>
       *   <li>{@code getStackTrace} takes {@code stackSize} time to return but then negligible time to
       *       retrieve each element of the returned list.
       *   <li>{@code lazyStackTrace} takes negligible time to return but then {@code 1/stackSize} time
       *       to retrieve each element of the returned list (probably slightly more than {@code
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/Throwables.java

       * by delaying the per-stack-frame work until each element is accessed. Roughly speaking:
       *
       * <ul>
       *   <li>{@code getStackTrace} takes {@code stackSize} time to return but then negligible time to
       *       retrieve each element of the returned list.
       *   <li>{@code lazyStackTrace} takes negligible time to return but then {@code 1/stackSize} time
       *       to retrieve each element of the returned list (probably slightly more than {@code
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/SequentialExecutor.java

      /** Use {@link MoreExecutors#newSequentialExecutor} */
      SequentialExecutor(Executor executor) {
        this.executor = Preconditions.checkNotNull(executor);
      }
    
      /**
       * Adds a task to the queue and makes sure a worker thread is running.
       *
       * <p>If this method throws, e.g. a {@code RejectedExecutionException} from the delegate executor,
       * execution of tasks will stop until a call to this method is made.
       */
    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)
  8. android/guava/src/com/google/common/base/Suppliers.java

      private interface SupplierFunction<T extends @Nullable Object> extends Function<Supplier<T>, T> {}
    
      private enum SupplierFunctionImpl implements SupplierFunction<@Nullable Object> {
        INSTANCE;
    
        // Note: This makes T a "pass-through type"
        @Override
        @CheckForNull
        public Object apply(Supplier<@Nullable Object> input) {
          return input.get();
        }
    
        @Override
        public String toString() {
    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)
  9. android/guava/src/com/google/common/util/concurrent/Monitor.java

       * satisfied at the time of signal, and has since been modified by some other thread to be
       * non-satisfied before reacquiring the lock, and that other thread takes over the responsibility
       * of signaling the next waiter.
       *
       * Unlike the underlying Condition, if we are not careful, an interrupt *can* cause a signal to be
    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)
  10. android/guava/src/com/google/common/base/Joiner.java

     * useForNull} has no effect on the instance it is invoked on! You must store and use the new joiner
     * instance returned by the method. This makes joiners thread-safe, and safe to store as {@code
     * static final} constants.
     *
     * <pre>{@code
     * // Bad! Do not do this!
     * Joiner joiner = Joiner.on(',');
     * joiner.skipNulls(); // does nothing!
    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)
Back to top