Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for rubyclass (0.3 sec)

  1. android/guava-tests/test/com/google/common/eventbus/SubscriberTest.java

        methodArgument = arg;
      }
    
      @Subscribe
      public void exceptionThrowingMethod(Object arg) throws Exception {
        throw new IntentionalException();
      }
    
      /** Local exception subclass to check variety of exception thrown. */
      class IntentionalException extends Exception {
    
        private static final long serialVersionUID = -2500191180248181379L;
      }
    
      @Subscribe
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/IteratorTester.java

     * thought of as overkill; however, it's difficult to determine which proper subset of this massive
     * set would be sufficient to expose any possible bug. Brute force is simpler.
     *
     * <p>To use this class the concrete subclass must implement the {@link
     * IteratorTester#newTargetIterator()} method. This is because it's impossible to test an Iterator
     * without changing its state, so the tester needs a steady supply of fresh Iterators.
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  3. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingSortedMultiset.java

       * {@link SortedMultiset#entrySet}, and {@link SortedMultiset#remove(Object, int)}. In many
       * situations, you may wish to override {@link SortedMultiset#elementSet} to forward to this
       * implementation or a subclass thereof.
       */
      protected class StandardElementSet extends SortedMultisets.ElementSet<E> {
        /** Constructor for use by subclasses. */
        public StandardElementSet() {
          super(ForwardingSortedMultiset.this);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 23 18:43:40 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/RangeGwtSerializationDependencies.java

     *
     * <p>For details about this hack, see {@code GwtSerializationDependencies}, which takes the same
     * approach but with a subclass rather than a superclass.
     *
     * <p>TODO(cpovirk): Consider applying this subclass approach to our other types.
     */
    @SuppressWarnings("rawtypes") // https://github.com/google/guava/issues/989
    @GwtCompatible(emulated = true)
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 1.3K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/eventbus/SubscriberTest.java

        methodArgument = arg;
      }
    
      @Subscribe
      public void exceptionThrowingMethod(Object arg) throws Exception {
        throw new IntentionalException();
      }
    
      /** Local exception subclass to check variety of exception thrown. */
      class IntentionalException extends Exception {
    
        private static final long serialVersionUID = -2500191180248181379L;
      }
    
      @Subscribe
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/IteratorTester.java

     * thought of as overkill; however, it's difficult to determine which proper subset of this massive
     * set would be sufficient to expose any possible bug. Brute force is simpler.
     *
     * <p>To use this class the concrete subclass must implement the {@link
     * IteratorTester#newTargetIterator()} method. This is because it's impossible to test an Iterator
     * without changing its state, so the tester needs a steady supply of fresh Iterators.
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/graph/AbstractBaseGraph.java

    import java.util.Set;
    import javax.annotation.CheckForNull;
    
    /**
     * This class provides a skeletal implementation of {@link BaseGraph}.
     *
     * <p>The methods implemented in this class should not be overridden unless the subclass admits a
     * more efficient implementation.
     *
     * @author James Sexton
     * @param <N> Node parameter type
     */
    @ElementTypesAreNonnullByDefault
    abstract class AbstractBaseGraph<N> implements BaseGraph<N> {
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/TreeTraverser.java

       * This is useful if the function instance already exists, or so that you can supply a lambda
       * expressions. If those circumstances don't apply, you probably don't need to use this; subclass
       * {@code TreeTraverser} and implement its {@link #children} method directly.
       *
       * @since 20.0
       * @deprecated Use {@link com.google.common.graph.Traverser#forTree} instead. If you are using a
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/graph/InvalidatableSet.java

    package com.google.common.graph;
    
    import static com.google.common.base.Preconditions.checkNotNull;
    
    import com.google.common.base.Supplier;
    import com.google.common.collect.ForwardingSet;
    import java.util.Set;
    
    /**
     * A subclass of `ForwardingSet` that throws `IllegalStateException` on invocation of any method
     * (except `hashCode` and `equals`) if the provided `Supplier` returns false.
     */
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/WriteReplaceOverridesTest.java

     * subclasses. Without such overrides, optimizers might put a {@code writeReplace}-containing class
     * and its subclass in different packages, causing the serialization system to fail to invoke {@code
     * writeReplace} when serializing an instance of the subclass. For an example of this problem, see
     * b/310253115.
     */
    public class WriteReplaceOverridesTest extends TestCase {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 4.9K bytes
    - Viewed (0)
Back to top