Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 77 for superClass (0.24 sec)

  1. guava-testlib/src/com/google/common/collect/testing/google/AbstractListMultimapTester.java

    import com.google.common.collect.ListMultimap;
    import java.util.Arrays;
    import java.util.Collection;
    import org.checkerframework.checker.nullness.qual.Nullable;
    import org.junit.Ignore;
    
    /**
     * Superclass for all {@code ListMultimap} testers.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/StandardRowSortedTable.java

     * returns a {@link SortedMap}, instead of the {@link Set} and {@link Map} specified by the {@link
     * Table} interface.
     *
     * <p>Null keys and values are not supported.
     *
     * <p>See the {@link StandardTable} superclass for more information about the behavior of this
     * class.
     *
     * @author Jared Levy
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    class StandardRowSortedTable<R, C, V> extends StandardTable<R, C, V>
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Jul 15 15:41:16 GMT 2021
    - 4.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/RegularImmutableAsList.java

      @Override
      public UnmodifiableListIterator<E> listIterator(int index) {
        return (UnmodifiableListIterator<E>) delegateList.listIterator(index);
      }
    
      @GwtIncompatible // not present in emulated superclass
      @Override
      int copyIntoArray(@Nullable Object[] dst, int offset) {
        return delegateList.copyIntoArray(dst, offset);
      }
    
      @Override
      @CheckForNull
      @Nullable
      Object[] internalArray() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 3K bytes
    - Viewed (0)
  4. android/guava-tests/benchmark/com/google/common/collect/ConcurrentHashMultisetBenchmark.java

        public int size() {
          long sum = 0L;
          for (Integer value : countMap.values()) {
            sum += value;
          }
          return Ints.saturatedCast(sum);
        }
    
        /*
         * Note: the superclass toArray() methods assume that size() gives a correct
         * answer, which ours does not.
         */
    
        @Override
        public Object[] toArray() {
          return snapshot().toArray();
        }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 06 12:56:11 GMT 2023
    - 16.6K bytes
    - Viewed (0)
  5. guava-tests/benchmark/com/google/common/collect/ConcurrentHashMultisetBenchmark.java

        public int size() {
          long sum = 0L;
          for (Integer value : countMap.values()) {
            sum += value;
          }
          return Ints.saturatedCast(sum);
        }
    
        /*
         * Note: the superclass toArray() methods assume that size() gives a correct
         * answer, which ours does not.
         */
    
        @Override
        public Object[] toArray() {
          return snapshot().toArray();
        }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed May 09 15:17:25 GMT 2018
    - 16.6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/AbstractHashFloodingTest.java

    import java.util.function.IntToDoubleFunction;
    import java.util.function.Supplier;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Abstract superclass for tests that hash flooding a collection has controlled worst-case
     * performance.
     */
    @GwtIncompatible
    public abstract class AbstractHashFloodingTest<T> extends TestCase {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Oct 03 21:01:39 GMT 2023
    - 8.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/BaseImmutableMultimap.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package com.google.common.collect;
    
    import com.google.common.annotations.GwtCompatible;
    
    /**
     * A dummy superclass of {@link ImmutableMultimap} that can be instanceof'd without ProGuard
     * retaining additional implementation details of {@link ImmutableMultimap}.
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jun 15 21:08:00 GMT 2021
    - 993 bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java

      public int size() {
        long sum = 0L;
        for (AtomicInteger value : countMap.values()) {
          sum += value.get();
        }
        return Ints.saturatedCast(sum);
      }
    
      /*
       * Note: the superclass toArray() methods assume that size() gives a correct
       * answer, which ours does not.
       */
    
      @Override
      public Object[] toArray() {
        return snapshot().toArray();
      }
    
      @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/ForwardingObjectTesterTest.java

          // UnsupportedOperationException is what we see on Android.
          return;
        }
        fail("Should have thrown");
      }
    
      @AndroidIncompatible // TODO(cpovirk): java.lang.IllegalAccessError: superclass not accessible
      public void testSuccessfulForwarding() {
        ForwardingObjectTester.testForwardingObject(ForwardToDelegate.class);
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/reflect/TypeCapture.java

    @ElementTypesAreNonnullByDefault
    abstract class TypeCapture<T> {
    
      /** Returns the captured type. */
      final Type capture() {
        Type superclass = getClass().getGenericSuperclass();
        checkArgument(superclass instanceof ParameterizedType, "%s isn't parameterized", superclass);
        return ((ParameterizedType) superclass).getActualTypeArguments()[0];
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Apr 16 21:10:04 GMT 2021
    - 1.2K bytes
    - Viewed (0)
Back to top