Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 39 for design (0.26 sec)

  1. CONTRIBUTING.md

    issue if there is one) requesting the feature and describing specific use cases
    for it.
    
    If the feature has merit, it will go through a thorough process of API design
    and review. Any code should come after this.
    
    [APIs]: https://en.wikipedia.org/wiki/Application_programming_interface
    [issue]: https://github.com/google/guava/issues
    
    Pull requests
    -------------
    
    Plain Text
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Nov 17 18:47:47 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. android/guava/src/com/google/common/util/concurrent/ListenerCallQueue.java

     *
     * <p>Listeners are registered once via {@link #addListener} and then may be invoked by {@linkplain
     * #enqueue enqueueing} and then {@linkplain #dispatch dispatching} events.
     *
     * <p>The API of this class is designed to make it easy to achieve the following properties
     *
     * <ul>
     *   <li>Multiple events for the same listener are never dispatched concurrently.
     *   <li>Events for the different listeners are dispatched concurrently.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Dec 13 19:45:20 GMT 2023
    - 8.2K 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/collect/TreeRangeSet.java

        if (floorEntry != null && floorEntry.getValue().contains(value)) {
          return floorEntry.getValue();
        } else {
          // TODO(kevinb): revisit this design choice
          return null;
        }
      }
    
      @Override
      public boolean intersects(Range<C> range) {
        checkNotNull(range);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 32.5K bytes
    - Viewed (0)
  10. 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)
Back to top