Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for LongAddable (0.07 sec)

  1. android/guava/src/com/google/common/cache/LongAddables.java

          supplier =
              new Supplier<LongAddable>() {
                @Override
                public LongAddable get() {
                  return new LongAdder();
                }
              };
        } catch (Throwable t) { // we really want to catch *everything*
          supplier =
              new Supplier<LongAddable>() {
                @Override
                public LongAddable get() {
                  return new PureJavaLongAddable();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/cache/LongAddables.java

    /**
     * Source of {@link LongAddable} objects that deals with GWT and all that.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    final class LongAddables {
      public static LongAddable create() {
        return new JavaUtilConcurrentLongAdder();
      }
    
      private static final class JavaUtilConcurrentLongAdder extends LongAdder implements LongAddable {}
    
      private LongAddables() {}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/cache/LongAdder.java

     * <p>jsr166e note: This class is targeted to be placed in java.util.concurrent.atomic.
     *
     * @since 1.8
     * @author Doug Lea
     */
    @GwtCompatible
    final class LongAdder extends Striped64 implements Serializable, LongAddable {
      @GwtIncompatible @J2ktIncompatible   private static final long serialVersionUID = 7249069246863182397L;
    
      /** Version of plus for use in retryUpdate */
      @Override
      final long fn(long v, long x) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.6K bytes
    - Viewed (0)
Back to top