Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for rubyclass (0.31 sec)

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

        private static ClassOwnership detectJvmBehavior() {
          class LocalClass<T> {}
          Class<?> subclass = new LocalClass<String>() {}.getClass();
          // requireNonNull is safe because we're examining a type that's known to have a superclass.
          ParameterizedType parameterizedType =
              requireNonNull((ParameterizedType) subclass.getGenericSuperclass());
          for (ClassOwnership behavior : ClassOwnership.values()) {
    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/src/com/google/common/util/concurrent/AbstractFuture.java

            //
            // Don't call getMessage or toString() on the exception, in case the exception thrown by the
            // subclass is implemented with bugs similar to the subclass.
            pendingDescription = "Exception thrown from implementation: " + e.getClass();
          }
          if (pendingDescription != null) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableMap.java

       * Returns a serializable form of this object. Non-public subclasses should not override this
       * method. Publicly-accessible subclasses must override this method and should return a subclass
       * of SerializedForm whose readResolve() method returns objects of the subclass type.
       */
      @J2ktIncompatible // serialization
      Object writeReplace() {
        return new SerializedForm<>(this);
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  4. maven-compat/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java

            }
    
            return request;
        }
    
        // layer the creation of a project builder configuration with a request, but this will need to be
        // a Maven subclass because we don't want to couple maven to the project builder which we need to
        // separate.
        protected MavenSession createMavenSession(File pom) throws Exception {
            return createMavenSession(pom, new Properties());
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableMultiset.java

       *
       * @since 2.0
       */
      public static class Builder<E> extends ImmutableCollection.Builder<E> {
        /*
         * `contents` is null only for instances of the subclass, ImmutableSortedMultiset.Builder. That
         * subclass overrides all the methods that access it here. Thus, all the methods here can safely
         * assume that this field is non-null.
         */
        @CheckForNull ObjectCountHashMap<E> contents;
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Maps.java

       */
      public static <K extends @Nullable Object, V extends @Nullable Object> SortedMap<K, V> filterKeys(
          SortedMap<K, V> unfiltered, final Predicate<? super K> keyPredicate) {
        // TODO(lowasser): Return a subclass of Maps.FilteredKeyMap for slightly better
        // performance.
        return filterEntries(unfiltered, Maps.<K>keyPredicateOnEntries(keyPredicate));
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 159.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Ordering.java

     * <i>chaining</i>, and <i>using</i>.
     *
     * <h4>Acquiring</h4>
     *
     * <p>The common ways to get an instance of {@code Ordering} are:
     *
     * <ul>
     *   <li>Subclass it and implement {@link #compare} instead of implementing {@link Comparator}
     *       directly
     *   <li>Pass a <i>pre-existing</i> {@link Comparator} instance to {@link #from(Comparator)}
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 39.4K bytes
    - Viewed (0)
Back to top