Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for design (0.18 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 May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jan 30 22:25:16 GMT 2023
    - 1.3K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. guava/src/com/google/common/base/NullnessCasts.java

       * or extract a variable, and put the suppression on that. However, a local variable typically
       * doesn't work: Because nullness analyses typically infer the nullness of local variables,
       * there's no way to assign a {@code @Nullable T} to a field {@code T foo;} and instruct the
       * analysis that that means "plain {@code T}" rather than the inferred type {@code @Nullable T}.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 12 20:58:36 GMT 2021
    - 3.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/hash/SipHashFunction.java

     * or implied. See the License for the specific language governing permissions and limitations under
     * the License.
     */
    
    /*
     * SipHash-c-d was designed by Jean-Philippe Aumasson and Daniel J. Bernstein and is described in
     * "SipHash: a fast short-input PRF" (available at https://131002.net/siphash/siphash.pdf).
     */
    
    package com.google.common.hash;
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 20 18:43:59 GMT 2021
    - 5.3K bytes
    - Viewed (0)
  8. 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)
  9. android/guava/src/com/google/common/util/concurrent/NullnessCasts.java

       * or extract a variable, and put the suppression on that. However, a local variable typically
       * doesn't work: Because nullness analyses typically infer the nullness of local variables,
       * there's no way to assign a {@code @Nullable T} to a field {@code T foo;} and instruct the
       * analysis that that means "plain {@code T}" rather than the inferred type {@code @Nullable T}.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 10 20:36:34 GMT 2022
    - 3.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/math/ToDoubleRounder.java

       * or the least double greater than or equal to the precise value of x.
       */
      abstract double roundToDoubleArbitrarily(X x);
    
      /** Returns the sign of x: either -1, 0, or 1. */
      abstract int sign(X x);
    
      /** Returns d's value as an X, rounded with the specified mode. */
      abstract X toX(double d, RoundingMode mode);
    
      /** Returns a - b, guaranteed that both arguments are nonnegative. */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 5.8K bytes
    - Viewed (0)
Back to top