Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 174 for Clauss (0.35 sec)

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

            return rawType.getEnclosingClass();
          }
        },
        LOCAL_CLASS_HAS_NO_OWNER {
          @Override
          @CheckForNull
          Class<?> getOwnerType(Class<?> rawType) {
            if (rawType.isLocalClass()) {
              return null;
            } else {
              return rawType.getEnclosingClass();
            }
          }
        };
    
        @CheckForNull
    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. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

      @Target(ElementType.METHOD)
      @Retention(RetentionPolicy.RUNTIME)
      private @interface Empty {}
    
      @Generates
      Class<?> generateClass() {
        return pickInstance(
            ImmutableList.of(
                int.class, long.class, void.class, Object.class, Object[].class, Iterable.class),
            Object.class);
      }
    
      @Generates
      Object generateObject() {
        return generateString();
      }
    
      @Generates
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 28K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/Throwables.java

       * }
       * if (failure != null) {
       *   throwIfInstanceOf(failure, BarException.class);
       *   throwIfUnchecked(failure);
       *   throw new AssertionError(failure);
       * }
       * </pre>
       *
       * @since 20.0
       */
      @GwtIncompatible // Class.cast, Class.isInstance
      public static <X extends Throwable> void throwIfInstanceOf(
          Throwable throwable, Class<X> declaredType) throws X {
        checkNotNull(throwable);
    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)
  4. android/guava/src/com/google/common/base/Throwables.java

       * }
       * if (failure != null) {
       *   throwIfInstanceOf(failure, BarException.class);
       *   throwIfUnchecked(failure);
       *   throw new AssertionError(failure);
       * }
       * </pre>
       *
       * @since 20.0
       */
      @GwtIncompatible // Class.cast, Class.isInstance
      public static <X extends Throwable> void throwIfInstanceOf(
          Throwable throwable, Class<X> declaredType) throws X {
        checkNotNull(throwable);
    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)
  5. guava/src/com/google/common/collect/ImmutableMultiset.java

       * described in the class documentation.
       *
       * @throws NullPointerException if any of {@code elements} is null
       * @since 6.0
       */
      public static <E> ImmutableMultiset<E> copyOf(E[] elements) {
        return copyFromElements(elements);
      }
    
      /**
       * Returns an immutable multiset containing the given elements, in the "grouped iteration order"
       * described in the class documentation.
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/SetsTest.java

      public void testNullPointerExceptions() {
        new NullPointerTester()
            .setDefault(Enum.class, SomeEnum.A)
            .setDefault(Class.class, SomeEnum.class) // for newEnumSet
            .testAllPublicStaticMethods(Sets.class);
      }
    
      public void testNewSetFromMap() {
        Set<Integer> set = Sets.newSetFromMap(new HashMap<Integer, Boolean>());
        set.addAll(SOME_COLLECTION);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 49.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/Suppliers.java

     *
     * @author Laurence Gonsalves
     * @author Harry Heymann
     * @since 2.0
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public final class Suppliers {
      private Suppliers() {}
    
      /**
       * Returns a new supplier which is the composition of the provided function and supplier. In other
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/Collections2.java

       * {@link Predicate#apply}. Do not provide a predicate such as {@code
       * Predicates.instanceOf(ArrayList.class)}, which is inconsistent with equals. (See {@link
       * Iterables#filter(Iterable, Class)} for related functionality.)
       *
       * <p><b>{@code Stream} equivalent:</b> {@link java.util.stream.Stream#filter Stream.filter}.
       */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/TableCollectors.java

        }
    
        ImmutableTable<R, C, V> toTable() {
          return ImmutableTable.copyOf(insertionOrder);
        }
      }
    
      @IgnoreJRERequirement // see enclosing class (whose annotation Animal Sniffer ignores here...)
      private static final class MutableCell<R, C, V> extends AbstractCell<R, C, V> {
        private final R row;
        private final C column;
        private V value;
    
        MutableCell(R row, C column, V value) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Sat Mar 09 00:21:17 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/CompactLinkedHashMap.java

     * load on the garbage collector by only using a constant number of internal objects.
     *
     * <p>This class should not be assumed to be universally superior to {@code
     * java.util.LinkedHashMap}. Generally speaking, this class reduces object allocation and memory
     * consumption at the price of moderately increased constant factors of CPU. Only use this class
     * when there is a specific reason to prioritize memory over CPU.
     *
     * @author Louis Wasserman
     */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 8.5K bytes
    - Viewed (0)
Back to top