Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 414 for constructor (0.27 sec)

  1. android/guava/src/com/google/common/escape/Escaper.java

    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public abstract class Escaper {
      // TODO(dbeaumont): evaluate custom implementations, considering package private constructor.
      /** Constructor for use by subclasses. */
      protected Escaper() {}
    
      /**
       * Returns the escaped form of a given literal string.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Oct 01 16:02:17 GMT 2021
    - 4.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/FileBackedOutputStream.java

     *       garbage collection, <strong>AND</strong> this stream was not constructed with {@linkplain
     *       #FileBackedOutputStream(int) the 1-arg constructor} or the {@linkplain
     *       #FileBackedOutputStream(int, boolean) 2-arg constructor} passing {@code false} in the
     *       second parameter.
     * </ul>
     *
     * <p>This class is thread-safe.
     *
     * @author Chris Nokleberg
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ForwardingMultiset.java

     * @since 2.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public abstract class ForwardingMultiset<E extends @Nullable Object> extends ForwardingCollection<E>
        implements Multiset<E> {
    
      /** Constructor for use by subclasses. */
      protected ForwardingMultiset() {}
    
      @Override
      protected abstract Multiset<E> delegate();
    
      @Override
      public int count(@CheckForNull Object element) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri May 12 15:26:39 GMT 2023
    - 10.4K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ForwardingMap.java

    public abstract class ForwardingMap<K extends @Nullable Object, V extends @Nullable Object>
        extends ForwardingObject implements Map<K, V> {
      // TODO(lowasser): identify places where thread safety is actually lost
    
      /** Constructor for use by subclasses. */
      protected ForwardingMap() {}
    
      @Override
      protected abstract Map<K, V> delegate();
    
      @Override
      public int size() {
        return delegate().size();
      }
    
      @Override
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri May 12 15:26:39 GMT 2023
    - 9.9K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

        this.expectedElements = Helpers.copyToList(expectedElements);
        this.knownOrder = knownOrder;
        this.startIndex = startIndex;
      }
    
      /**
       * I'd like to make this a parameter to the constructor, but I can't because the stimulus
       * instances refer to {@code this}.
       */
      protected abstract Iterable<? extends Stimulus<E, ? super I>> getStimulusValues();
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

      }
    
      /**
       * Must be called at the end of each subclass's constructor. This method performs the "real"
       * initialization; we can't put this in the constructor because, in the case where futures are
       * already complete, we would not initialize the subclass before calling {@link
       * #collectValueFromNonCancelledFuture}. As this is called after the subclass is constructed,
       * we're guaranteed to have properly initialized the subclass.
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ForwardingDeque.java

     */
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    public abstract class ForwardingDeque<E extends @Nullable Object> extends ForwardingQueue<E>
        implements Deque<E> {
    
      /** Constructor for use by subclasses. */
      protected ForwardingDeque() {}
    
      @Override
      protected abstract Deque<E> delegate();
    
      @Override
      public void addFirst(@ParametricNullness E e) {
        delegate().addFirst(e);
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Mar 13 14:30:51 GMT 2023
    - 4.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ForwardingQueue.java

     * @since 2.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public abstract class ForwardingQueue<E extends @Nullable Object> extends ForwardingCollection<E>
        implements Queue<E> {
    
      /** Constructor for use by subclasses. */
      protected ForwardingQueue() {}
    
      @Override
      protected abstract Queue<E> delegate();
    
      @CanIgnoreReturnValue // TODO(cpovirk): Consider removing this?
      @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 29 19:42:21 GMT 2021
    - 4.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ForwardingBlockingDeque.java

     */
    @Deprecated
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    public abstract class ForwardingBlockingDeque<E> extends ForwardingDeque<E>
        implements BlockingDeque<E> {
    
      /** Constructor for use by subclasses. */
      protected ForwardingBlockingDeque() {}
    
      @Override
      protected abstract BlockingDeque<E> delegate();
    
      @Override
      public int remainingCapacity() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 13 14:30:51 GMT 2023
    - 4.4K bytes
    - Viewed (0)
  10. guava-tests/benchmark/com/google/common/util/concurrent/FuturesGetCheckedBenchmark.java

    /** Microbenchmark for {@link Futures#getChecked}. */
    public class FuturesGetCheckedBenchmark {
      private enum Validator {
        NON_CACHING_WITH_CONSTRUCTOR_CHECK(nonCachingWithConstructorCheckValidator()),
        NON_CACHING_WITHOUT_CONSTRUCTOR_CHECK(nonCachingWithoutConstructorCheckValidator()),
        WEAK_SET(weakSetValidator()),
        CLASS_VALUE(classValueValidator()),
        ;
    
        final GetCheckedTypeValidator validator;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Mar 22 03:01:34 GMT 2022
    - 6.6K bytes
    - Viewed (0)
Back to top