Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 140 for behavior (0.19 sec)

  1. android/guava/src/com/google/common/reflect/Types.java

          ParameterizedType parameterizedType =
              requireNonNull((ParameterizedType) subclass.getGenericSuperclass());
          for (ClassOwnership behavior : ClassOwnership.values()) {
            if (behavior.getOwnerType(LocalClass.class) == parameterizedType.getOwnerType()) {
              return behavior;
            }
          }
          throw new AssertionError();
        }
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/Throwables.java

       *   Throwables.propagateIfInstanceOf(t, SQLException.class);
       *   throw Throwables.propagate(t);
       * }
       * </pre>
       *
       * @deprecated Use {@link #throwIfInstanceOf}, which has the same behavior but rejects {@code
       *     null}.
       */
      @Deprecated
      @J2ktIncompatible
      @GwtIncompatible // throwIfInstanceOf
      public static <X extends Throwable> void propagateIfInstanceOf(
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/Throwables.java

       *   Throwables.propagateIfInstanceOf(t, SQLException.class);
       *   throw Throwables.propagate(t);
       * }
       * </pre>
       *
       * @deprecated Use {@link #throwIfInstanceOf}, which has the same behavior but rejects {@code
       *     null}.
       */
      @Deprecated
      @J2ktIncompatible
      @GwtIncompatible // throwIfInstanceOf
      public static <X extends Throwable> void propagateIfInstanceOf(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ForwardingMultiset.java

     * one or more methods to modify the behavior of the backing multiset as desired per the <a
     * href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>.
     *
     * <p><b>Warning:</b> The methods of {@code ForwardingMultiset} forward <b>indiscriminately</b> to
     * the methods of the delegate. For example, overriding {@link #add(Object, int)} alone <b>will
    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)
  5. guava/src/com/google/common/collect/ForwardingMap.java

     * methods to modify the behavior of the backing map as desired per the <a
     * href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>.
     *
     * <p><b>Warning:</b> The methods of {@code ForwardingMap} forward <i>indiscriminately</i> to the
     * methods of the delegate. For example, overriding {@link #put} alone <i>will not</i> change the
    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)
  6. android/guava/src/com/google/common/base/Joiner.java

      public final String join(
          @CheckForNull Object first, @CheckForNull Object second, @Nullable Object... rest) {
        return join(iterable(first, second, rest));
      }
    
      /**
       * Returns a joiner with the same behavior as this one, except automatically substituting {@code
       * nullText} for any provided null elements.
       */
      public Joiner useForNull(String nullText) {
        checkNotNull(nullText);
        return new Joiner(this) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 18.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/Converter.java

          this.original = original;
        }
    
        /*
         * These gymnastics are a little confusing. Basically this class has neither legacy nor
         * non-legacy behavior; it just needs to let the behavior of the backing converter shine
         * through. So, we override the correctedDo* methods, after which the do* methods should never
         * be reached.
         */
    
        @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 23K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

     * by other {@code CycleDetectingLockFactory} instances (except those with {@code Policy.DISABLED}).
     * A lock's behavior when a cycle is detected, however, is defined by the {@code Policy} of the
     * factory that created it. This allows detection of cycles across components while delegating
     * control over lock behavior to individual components.
     *
     * <p>Applications are encouraged to use a {@code CycleDetectingLockFactory} to create any locks for
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 35.9K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

          } catch (UnsupportedOperationException expected) {
          }
        }
        assertInvariants(map);
      }
    
      @J2ktIncompatible // https://youtrack.jetbrains.com/issue/KT-58242/ undefined behavior (crash)
      public void testContainsKey() {
        Map<K, V> map;
        K unmappedKey;
        try {
          map = makePopulatedMap();
          unmappedKey = getKeyNotInPopulatedMap();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 45.9K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/Predicates.java

       * {@code true}. The components are evaluated in order, and evaluation will be "short-circuited"
       * as soon as a false predicate is found. It defensively copies the iterable passed in, so future
       * changes to it won't alter the behavior of this predicate. If {@code components} is empty, the
       * returned predicate will always evaluate to {@code true}.
       */
      public static <T extends @Nullable Object> Predicate<T> and(
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 23.1K bytes
    - Viewed (0)
Back to top