Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 57 for design (0.38 sec)

  1. guava/src/com/google/common/annotations/VisibleForTesting.java

     * for use in test code.
     *
     * <p><b>Do not use this interface</b> for public or protected declarations: it is a fig leaf for
     * bad design, and it does not prevent anyone from using the declaration---and experience has shown
     * that they will. If the method breaks the encapsulation of its class, then its internal
     * representation will be hard to change. Instead, use <a
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Jan 30 22:25:16 GMT 2023
    - 1.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/graph/MapIteratorCache.java

    import java.util.Map.Entry;
    import java.util.Set;
    import javax.annotation.CheckForNull;
    
    /**
     * A map-like data structure that wraps a backing map and caches values while iterating through
     * {@link #unmodifiableKeySet()}. By design, the cache is cleared when this structure is mutated. If
     * this structure is never mutated, it provides a thread-safe view of the backing map.
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Oct 06 00:47:57 GMT 2021
    - 4.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/annotations/VisibleForTesting.java

     * for use in test code.
     *
     * <p><b>Do not use this interface</b> for public or protected declarations: it is a fig leaf for
     * bad design, and it does not prevent anyone from using the declaration---and experience has shown
     * that they will. If the method breaks the encapsulation of its class, then its internal
     * representation will be hard to change. Instead, use <a
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 30 22:25:16 GMT 2023
    - 1.3K bytes
    - Viewed (0)
  4. 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)
  5. 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 Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 13.1K bytes
    - Viewed (0)
  6. 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 Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Nov 17 18:47:47 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  7. 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)
  8. 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 Apr 26 12:43:10 GMT 2024
    - Last Modified: Sat Jun 17 14:40:53 GMT 2023
    - 15.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/hash/AbstractStreamingHasher.java

     * entire "chunk" (of implementation-dependent length) is ready to be hashed.
     *
     * @author Kevin Bourrillion
     * @author Dimitris Andreou
     */
    // TODO(kevinb): this class still needs some design-and-document-for-inheritance love
    @ElementTypesAreNonnullByDefault
    abstract class AbstractStreamingHasher extends AbstractHasher {
      /** Buffer via which we pass data to the hash algorithm (the implementor) */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jun 15 20:59:00 GMT 2022
    - 7.1K bytes
    - Viewed (0)
  10. 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 Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 15 22:32:14 GMT 2024
    - 22.7K bytes
    - Viewed (0)
Back to top