Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for design (0.2 sec)

  1. guava/src/com/google/common/base/FinalizableReferenceQueue.java

        }
    
        /** Creates a class loader with the given base URL as its classpath. */
        URLClassLoader newLoader(URL base) {
          // We use the bootstrap class loader as the parent because Finalizer by design uses
          // only standard Java classes. That also means that FinalizableReferenceQueueTest
          // doesn't pick up the wrong version of the Finalizer class.
          return new URLClassLoader(new URL[] {base}, null);
        }
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 13.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/FinalizableReferenceQueue.java

        }
    
        /** Creates a class loader with the given base URL as its classpath. */
        URLClassLoader newLoader(URL base) {
          // We use the bootstrap class loader as the parent because Finalizer by design uses
          // only standard Java classes. That also means that FinalizableReferenceQueueTest
          // doesn't pick up the wrong version of the Finalizer class.
          return new URLClassLoader(new URL[] {base}, null);
        }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 13.1K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

    @ElementTypesAreNonnullByDefault
    abstract class AbstractMapBasedMultimap<K extends @Nullable Object, V extends @Nullable Object>
        extends AbstractMultimap<K, V> implements Serializable {
      /*
       * Here's an outline of the overall design.
       *
       * The map variable contains the collection of values associated with each
       * key. When a key-value pair is added to a multimap that didn't previously
       * contain any values for that key, a new collection generated by
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 48K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Multimap.java

     *
     * <ul>
     *   <li>a → 1
     *   <li>a → 2
     *   <li>b → 3
     * </ul>
     *
     * <p><b>Important:</b> although the first interpretation resembles how most multimaps are
     * <i>implemented</i>, the design of the {@code Multimap} API is based on the <i>second</i> form.
     * So, using the multimap shown above as an example, the {@link #size} is {@code 3}, not {@code 2},
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sat Jun 17 14:40:53 GMT 2023
    - 15.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/RegularImmutableMap.java

      /*
       * This is an implementation of ImmutableMap optimized especially for Android, which does not like
       * objects per entry.  Instead we use an open-addressed hash table.  This design is basically
       * equivalent to RegularImmutableSet, save that instead of having a hash table containing the
       * elements directly and null for empty positions, we store indices of the keys in the hash table,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 15 22:32:14 GMT 2024
    - 22.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/graph/ValueGraph.java

     * interpretation of the edge value as its multiplicity.)
     *
     * <h3>Building a {@code ValueGraph}</h3>
     *
     * <p>The implementation classes that {@code common.graph} provides are not public, by design. To
     * create an instance of one of the built-in implementations of {@code ValueGraph}, use the {@link
     * ValueGraphBuilder} class:
     *
     * <pre>{@code
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 15K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/Monitor.java

      //    Imagine:
      //    guard.lock();
      //    try { /* monitor locked and guard satisfied here */ }
      //    finally { guard.unlock(); }
      // Here are Justin's design notes about this:
      //
      // This idea has come up from time to time, and I think one of my
      // earlier versions of Monitor even did something like this. I ended
      // up strongly favoring the current interface.
      //
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 18:22:01 GMT 2023
    - 38.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/net/MediaType.java

       * Format</a> ({@code crw} files), a widely-used "raw image" format for cameras. It is found in
       * {@code /etc/mime.types}, e.g. in <a href=
       * "http://anonscm.debian.org/gitweb/?p=collab-maint/mime-support.git;a=blob;f=mime.types;hb=HEAD"
       * >Debian 3.48-1</a>.
       *
       * @since 15.0
       */
      public static final MediaType CRW = createConstant(IMAGE_TYPE, "x-canon-crw");
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Aug 07 16:17:10 GMT 2023
    - 46.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/graph/Graph.java

     * extensions with parallel edges. If you need parallel edges, use {@link Network}.
     *
     * <h3>Building a {@code Graph}</h3>
     *
     * <p>The implementation classes that {@code common.graph} provides are not public, by design. To
     * create an instance of one of the built-in implementations of {@code Graph}, use the {@link
     * GraphBuilder} class:
     *
     * <pre>{@code
     * MutableGraph<Integer> graph = GraphBuilder.undirected().build();
     * }</pre>
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

    @ElementTypesAreNonnullByDefault
    abstract class AbstractMapBasedMultimap<K extends @Nullable Object, V extends @Nullable Object>
        extends AbstractMultimap<K, V> implements Serializable {
      /*
       * Here's an outline of the overall design.
       *
       * The map variable contains the collection of values associated with each
       * key. When a key-value pair is added to a multimap that didn't previously
       * contain any values for that key, a new collection generated by
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 46.6K bytes
    - Viewed (0)
Back to top