Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 237 for Reimplement (0.49 sec)

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

        }
    
        /*
         * The tryAdvance and forEachRemaining in FlatMapSpliteratorOfPrimitive are overloads of these
         * methods, not overrides. They are annotated @Override because they implement methods from
         * Spliterator.OfPrimitive (and override default implementations from Spliterator.OfPrimitive or
         * a subtype like Spliterator.OfInt).
         */
    
        @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 22 18:19:31 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

       * been shutdown).
       *
       * <p>Although all tasks are immediately executed in the thread that submitted the task, this
       * {@code ExecutorService} imposes a small locking overhead on each task submission in order to
       * implement shutdown and termination behavior.
       *
       * <p>The implementation deviates from the {@code ExecutorService} specification with regards to
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 15 10:40:05 UTC 2024
    - 39K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/graph/ValueGraph.java

     *
     * <pre>{@code
     * ImmutableValueGraph<Integer, Double> immutableGraph = ImmutableValueGraph.copyOf(graph);
     * }</pre>
     *
     * <p>Instances of {@link ImmutableValueGraph} do not implement {@link MutableValueGraph}
     * (obviously!) and are contractually guaranteed to be unmodifiable and thread-safe.
     *
     * <p>The Guava User Guide has <a
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 15K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/primitives/UnsignedBytes.java

            // requireNonNull is safe because the class is an enum.
            Object[] constants = requireNonNull(theClass.getEnumConstants());
    
            // yes, UnsafeComparator does implement Comparator<byte[]>
            @SuppressWarnings("unchecked")
            Comparator<byte[]> comparator = (Comparator<byte[]>) constants[0];
            return comparator;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/Monitor.java

      //
      // 3. I think "enterWhen(notEmpty)" reads better than "notEmpty.enter()".
      //
      // TODO(user): Implement ReentrantLock features:
      //    - toString() method
      //    - getOwner() method
      //    - getQueuedThreads() method
      //    - getWaitingThreads(Guard) method
      //    - implement Serializable
      //    - redo the API to be as close to identical to ReentrantLock as possible,
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 18:22:01 UTC 2023
    - 38.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Maps.java

          extends AbstractNavigableMap<K, V> {
        /*
         * It's less code to extend AbstractNavigableMap and forward the filtering logic to
         * FilteredEntryMap than to extend FilteredEntrySortedMap and reimplement all the NavigableMap
         * methods.
         */
    
        private final NavigableMap<K, V> unfiltered;
        private final Predicate<? super Entry<K, V>> entryPredicate;
        private final Map<K, V> filteredDelegate;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 159.5K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/Maps.java

          extends AbstractNavigableMap<K, V> {
        /*
         * It's less code to extend AbstractNavigableMap and forward the filtering logic to
         * FilteredEntryMap than to extend FilteredEntrySortedMap and reimplement all the NavigableMap
         * methods.
         */
    
        private final NavigableMap<K, V> unfiltered;
        private final Predicate<? super Entry<K, V>> entryPredicate;
        private final Map<K, V> filteredDelegate;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 24 19:38:27 UTC 2024
    - 165.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/Predicates.java

     * @since 2.0
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public final class Predicates {
      private Predicates() {}
    
      // TODO(kevinb): considering having these implement a VisitablePredicate
      // interface which specifies an accept(PredicateVisitor) method.
    
      /** Returns a predicate that always evaluates to {@code true}. */
      @GwtCompatible(serializable = true)
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:49:48 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/io/ByteStreams.java

      /** Creates a new byte array for buffering reads or writes. */
      static byte[] createBuffer() {
        return new byte[BUFFER_SIZE];
      }
    
      /**
       * There are three methods to implement {@link FileChannel#transferTo(long, long,
       * WritableByteChannel)}:
       *
       * <ol>
       *   <li>Use sendfile(2) or equivalent. Requires that both the input channel and the output
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Jan 17 18:59:58 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

     * that associates each key with a collection of values. All methods of {@link Multimap} are
     * supported, including those specified as optional in the interface.
     *
     * <p>To implement a multimap, a subclass must define the method {@link #createCollection()}, which
     * creates an empty collection of values for a key.
     *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Oct 13 14:11:58 UTC 2023
    - 46.6K bytes
    - Viewed (0)
Back to top