Tabnine Logo
DoublePopulationStatisticsAggregator.getMaximum
Code IndexAdd Tabnine to your IDE (free)

How to use
getMaximum
method
in
com.liveramp.hank.partition_server.DoublePopulationStatisticsAggregator

Best Java code snippets using com.liveramp.hank.partition_server.DoublePopulationStatisticsAggregator.getMaximum (Showing top 1 results out of 315)

origin: LiveRamp/hank

public static String formatPopulationStatistics(String title,
                        DoublePopulationStatisticsAggregator populationStatistics) {
 if (populationStatistics == null) {
  return "-";
 } else {
  double[] deciles = populationStatistics.computeDeciles();
  StringBuilder tooltipContent = new StringBuilder();
  tooltipContent.append("<table>");
  addBar(tooltipContent, "min", populationStatistics.getMinimum(), populationStatistics.getMaximum(), "ms");
  for (int i = 0; i < 9; ++i) {
   addBar(tooltipContent, ((i + 1) * 10) + "%", deciles[i], populationStatistics.getMaximum(), "ms");
  }
  addBar(tooltipContent, "max", populationStatistics.getMaximum(), populationStatistics.getMaximum(), "ms");
  tooltipContent.append("</table>");
  return htmlTooltip(populationStatistics.format(), title, tooltipContent.toString());
 }
}
com.liveramp.hank.partition_serverDoublePopulationStatisticsAggregatorgetMaximum

Popular methods of DoublePopulationStatisticsAggregator

  • computeDeciles
  • formatDouble
  • <init>
  • aggregate
  • clear
  • combine
  • format
  • getDecileIndex
  • getInterpolatedValueAtIndex
  • getMean
  • getMinimum
  • getSortedPopulationDecile
  • getMinimum,
  • getSortedPopulationDecile,
  • getStatistics,
  • toString

Popular in Java

  • Making http requests using okhttp
  • getSupportFragmentManager (FragmentActivity)
  • putExtra (Intent)
  • notifyDataSetChanged (ArrayAdapter)
  • File (java.io)
    An "abstract" representation of a file system entity identified by a pathname. The pathname may be a
  • Time (java.sql)
    Java representation of an SQL TIME value. Provides utilities to format and parse the time's represen
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
  • ZipFile (java.util.zip)
    This class provides random read access to a zip file. You pay more to read the zip file's central di
  • JComboBox (javax.swing)
  • Runner (org.openjdk.jmh.runner)
  • Top 15 Vim Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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