Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 107 for Subclass (0.06 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
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  2. api/maven-api-plugin/src/test/java/org/apache/maven/api/plugin/descriptor/another/ExtendedPluginDescriptorTest.java

    import static org.junit.jupiter.api.Assertions.assertEquals;
    
    /**
     * Verifies that subclasses from generated model classes are possible.
     */
    class ExtendedPluginDescriptorTest {
    
        /**
         * A subclass of the generated class {@link PluginDescriptor} that adds an additional field.
         */
        public static class ExtendedPluginDescriptor extends PluginDescriptor {
    
            private final String additionalField;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Aug 27 07:05:43 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/ForwardingObjectTester.java

    import com.google.common.collect.Iterables;
    import com.google.common.testing.ForwardingWrapperTester;
    import java.lang.reflect.Method;
    import java.util.Arrays;
    
    /**
     * Tester for typical subclass of {@link ForwardingObject} by using Mockito.
     *
     * @author Ben Yu
     */
    final class ForwardingObjectTester {
    
      private static final Method DELEGATE_METHOD;
    
      static {
        try {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jan 05 19:41:03 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/ForwardingFluentFuture.java

    /**
     * {@link FluentFuture} that forwards all calls to a delegate.
     *
     * <h3>Extension</h3>
     *
     * If you want a class like {@code FluentFuture} but with extra methods, we recommend declaring your
     * own subclass of {@link ListenableFuture}, complete with a method like {@link #from} to adapt an
     * existing {@code ListenableFuture}, implemented atop a {@link ForwardingListenableFuture} that
     * forwards to that future and adds the desired methods.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 05 22:27:35 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  5. android/guava/src/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.
       *
       * @since 15.0
       */
      protected class StandardElementSet extends SortedMultisets.NavigableElementSet<E> {
        /** Constructor for use by subclasses. */
        public StandardElementSet() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  6. 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 {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 18:53:31 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ForwardingMap.java

       * {@link ForwardingMap#entrySet}. In many cases, you may wish to override {@link
       * ForwardingMap#keySet} to forward to this implementation or a subclass thereof.
       *
       * @since 10.0
       */
      protected class StandardKeySet extends Maps.KeySet<K, V> {
        /** Constructor for use by subclasses. */
        public StandardKeySet() {
          super(ForwardingMap.this);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/RequestBody.kt

      /**
       * A duplex request body is special in how it is **transmitted** on the network and
       * in the **API contract** between OkHttp and the application.
       *
       * This method returns false unless it is overridden by a subclass.
       *
       * ### Duplex Transmission
       *
       * With regular HTTP calls the request always completes sending before the response may begin
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Jan 25 14:41:37 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  9. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsBuilderFactory.java

     * Maven plugins should always acquire settings builder instances via dependency injection. Developers might want to
     * subclass this factory to provide custom implementations for some of the components used by the settings builder.
     *
     * @deprecated since 4.0.0, use {@link org.apache.maven.api.services.SettingsBuilder} instead
     */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  10. 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
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 1.8K bytes
    - Viewed (0)
Back to top