Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 271 - 280 of 634 for abstract (0.05 seconds)

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

     * {@link Multiset#entrySet()}, as do many methods acting on the set returned by {@link
     * #elementSet()}. Override those methods for better performance.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    abstract class AbstractSortedMultiset<E extends @Nullable Object> extends AbstractMultiset<E>
        implements SortedMultiset<E> {
      private final Comparator<? super E> comparator;
    
      // needed for serialization
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  2. guava/src/com/google/common/util/concurrent/CollectionFuture.java

    import java.util.Collections;
    import java.util.List;
    import org.jspecify.annotations.Nullable;
    
    /** Aggregate future that collects (stores) results of each future. */
    @GwtCompatible
    abstract class CollectionFuture<V extends @Nullable Object, C extends @Nullable Object>
        extends AggregateFuture<V, C> {
      /*
       * We access this field racily but safely. For discussion of a similar situation, see the comments
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/ForwardingSortedMultiset.java

     *
     * @author Louis Wasserman
     * @since 15.0
     */
    @GwtCompatible
    public abstract class ForwardingSortedMultiset<E extends @Nullable Object>
        extends ForwardingMultiset<E> implements SortedMultiset<E> {
      /** Constructor for use by subclasses. */
      protected ForwardingSortedMultiset() {}
    
      @Override
      protected abstract SortedMultiset<E> delegate();
    
      @Override
      public NavigableSet<E> elementSet() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  4. android/guava-tests/benchmark/com/google/common/math/StatsBenchmark.java

            double mean = values[0];
            for (int i = 1; i < values.length; i++) {
              mean = mean + (values[i] - mean) / (i + 1);
            }
            return mean;
          }
        };
    
        abstract double mean(double[] values);
      }
    
      static class MeanAndVariance {
        private final double mean;
        private final double variance;
    
        MeanAndVariance(double mean, double variance) {
          this.mean = mean;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed May 14 19:40:47 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/ForwardingMultimap.java

     *
     * @author Robert Konigsberg
     * @since 2.0
     */
    @GwtCompatible
    public abstract class ForwardingMultimap<K extends @Nullable Object, V extends @Nullable Object>
        extends ForwardingObject implements Multimap<K, V> {
    
      /** Constructor for use by subclasses. */
      protected ForwardingMultimap() {}
    
      @Override
      protected abstract Multimap<K, V> delegate();
    
      @Override
      public Map<K, Collection<V>> asMap() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Feb 12 21:10:54 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/ForwardingSet.java

     * @author Louis Wasserman
     * @since 2.0
     */
    @GwtCompatible
    public abstract class ForwardingSet<E extends @Nullable Object> extends ForwardingCollection<E>
        implements Set<E> {
      // TODO(lowasser): identify places where thread safety is actually lost
    
      /** Constructor for use by subclasses. */
      protected ForwardingSet() {}
    
      @Override
      protected abstract Set<E> delegate();
    
      @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 3.7K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/ForwardingMultimap.java

     *
     * @author Robert Konigsberg
     * @since 2.0
     */
    @GwtCompatible
    public abstract class ForwardingMultimap<K extends @Nullable Object, V extends @Nullable Object>
        extends ForwardingObject implements Multimap<K, V> {
    
      /** Constructor for use by subclasses. */
      protected ForwardingMultimap() {}
    
      @Override
      protected abstract Multimap<K, V> delegate();
    
      @Override
      public Map<K, Collection<V>> asMap() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Feb 12 21:10:54 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/ForwardingQueue.java

     *
     * @author Mike Bostock
     * @author Louis Wasserman
     * @since 2.0
     */
    @GwtCompatible
    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
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 3.9K bytes
    - Click Count (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java

    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public abstract class AbstractMultisetSetCountTester<E> extends AbstractMultisetTester<E> {
      /*
       * TODO: consider adding MultisetFeatures.SUPPORTS_SET_COUNT. Currently we
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 13K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

     * rate limit the number of queries we perform.
     *
     * @author Luke Sandberg
     * @since 11.0
     */
    @GwtIncompatible
    @J2ktIncompatible
    public abstract class AbstractScheduledService implements Service {
      private static final LazyLogger logger = new LazyLogger(AbstractScheduledService.class);
    
      /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 27.7K bytes
    - Click Count (0)
Back to Top