Tabnine Logo
LongAdder.sum
Code IndexAdd Tabnine to your IDE (free)

How to use
sum
method
in
com.google.common.hash.LongAdder

Best Java code snippets using com.google.common.hash.LongAdder.sum (Showing top 20 results out of 315)

origin: google/guava

/**
 * Equivalent to {@link #sum}.
 *
 * @return the sum
 */
public long longValue() {
 return sum();
}
origin: google/guava

/** Returns the {@link #sum} as a {@code float} after a widening primitive conversion. */
public float floatValue() {
 return (float) sum();
}
origin: google/guava

/** Returns the {@link #sum} as a {@code double} after a widening primitive conversion. */
public double doubleValue() {
 return (double) sum();
}
origin: google/guava

/** Returns the {@link #sum} as an {@code int} after a narrowing primitive conversion. */
public int intValue() {
 return (int) sum();
}
origin: google/guava

/**
 * Returns the String representation of the {@link #sum}.
 *
 * @return the String representation of the {@link #sum}
 */
public String toString() {
 return Long.toString(sum());
}
origin: google/j2objc

/**
 * Equivalent to {@link #sum}.
 *
 * @return the sum
 */
public long longValue() {
 return sum();
}
origin: google/j2objc

/** Returns the {@link #sum} as an {@code int} after a narrowing primitive conversion. */
public int intValue() {
 return (int) sum();
}
origin: google/j2objc

/** Returns the {@link #sum} as a {@code float} after a widening primitive conversion. */
public float floatValue() {
 return (float) sum();
}
origin: google/j2objc

/** Returns the {@link #sum} as a {@code double} after a widening primitive conversion. */
public double doubleValue() {
 return (double) sum();
}
origin: google/guava

private void writeObject(ObjectOutputStream s) throws IOException {
 s.defaultWriteObject();
 s.writeLong(sum());
}
origin: wildfly/wildfly

/**
 * Equivalent to {@link #sum}.
 *
 * @return the sum
 */
public long longValue() {
 return sum();
}
origin: wildfly/wildfly

/** Returns the {@link #sum} as an {@code int} after a narrowing primitive conversion. */
public int intValue() {
 return (int) sum();
}
origin: wildfly/wildfly

/** Returns the {@link #sum} as a {@code float} after a widening primitive conversion. */
public float floatValue() {
 return (float) sum();
}
origin: wildfly/wildfly

/** Returns the {@link #sum} as a {@code double} after a widening primitive conversion. */
public double doubleValue() {
 return (double) sum();
}
origin: google/j2objc

/**
 * Returns the String representation of the {@link #sum}.
 *
 * @return the String representation of the {@link #sum}
 */
public String toString() {
 return Long.toString(sum());
}
origin: wildfly/wildfly

/**
 * Returns the String representation of the {@link #sum}.
 *
 * @return the String representation of the {@link #sum}
 */
public String toString() {
 return Long.toString(sum());
}
origin: google/j2objc

private void writeObject(ObjectOutputStream s) throws IOException {
 s.defaultWriteObject();
 s.writeLong(sum());
}
origin: wildfly/wildfly

private void writeObject(ObjectOutputStream s) throws IOException {
 s.defaultWriteObject();
 s.writeLong(sum());
}
origin: org.kill-bill.billing/killbill-platform-osgi-bundles-logger

/**
 * Equivalent to {@link #sum}.
 *
 * @return the sum
 */
public long longValue() {
 return sum();
}
origin: org.jboss.eap/wildfly-client-all

/**
 * Returns the String representation of the {@link #sum}.
 *
 * @return the String representation of the {@link #sum}
 */
public String toString() {
 return Long.toString(sum());
}
com.google.common.hashLongAddersum

Javadoc

Returns the current sum. The returned value is NOT an atomic snapshot; invocation in the absence of concurrent updates returns an accurate result, but concurrent updates that occur while the sum is being calculated might not be incorporated.

Popular methods of LongAdder

  • <init>
    Creates a new adder with initial sum of zero.
  • add
    Adds the given value.
  • casBase
  • internalReset
  • retryUpdate

Popular in Java

  • Finding current android device location
  • getSharedPreferences (Context)
  • onCreateOptionsMenu (Activity)
  • onRequestPermissionsResult (Fragment)
  • InputStreamReader (java.io)
    A class for turning a byte stream into a character stream. Data read from the source input stream is
  • GregorianCalendar (java.util)
    GregorianCalendar is a concrete subclass of Calendarand provides the standard calendar used by most
  • AtomicInteger (java.util.concurrent.atomic)
    An int value that may be updated atomically. See the java.util.concurrent.atomic package specificati
  • Collectors (java.util.stream)
  • JFrame (javax.swing)
  • StringUtils (org.apache.commons.lang)
    Operations on java.lang.String that arenull safe. * IsEmpty/IsBlank - checks if a String contains
  • CodeWhisperer alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now