Tabnine Logo
ResultMatrix.padString
Code IndexAdd Tabnine to your IDE (free)

How to use
padString
method
in
weka.experiment.ResultMatrix

Best Java code snippets using weka.experiment.ResultMatrix.padString (Showing top 2 results out of 315)

origin: nz.ac.waikato.cms.weka/weka-stable

/**
 * pads the given string on the right until it reaches the given length, if
 * longer cuts it down. if length is 0 then nothing is done.
 * 
 * @param s the string to pad
 * @param length the max. length of the string
 * @return the padded string
 */
protected String padString(String s, int length) {
 return padString(s, length, false);
}
origin: Waikato/weka-trunk

/**
 * pads the given string on the right until it reaches the given length, if
 * longer cuts it down. if length is 0 then nothing is done.
 * 
 * @param s the string to pad
 * @param length the max. length of the string
 * @return the padded string
 */
protected String padString(String s, int length) {
 return padString(s, length, false);
}
weka.experimentResultMatrixpadString

Javadoc

pads the given string on the right until it reaches the given length, if longer cuts it down. if length is 0 then nothing is done.

Popular methods of ResultMatrix

  • addHeader
    adds the key-value pair to the header.
  • assign
    acquires the data from the given matrix.
  • clear
    removes the stored data and the ordering, but retains the dimensions of the matrix.
  • clearHeader
    removes all the header information.
  • clearRanking
    clears the currently stored ranking data.
  • clearSummary
    clears the current summary data.
  • doubleToString
    returns the given number as string rounded to the given number of decimals. additional necessary 0's
  • getAverage
    returns the average of the mean at the given position, if the position is valid, otherwise 0.
  • getColCount
    returns the number of columns.
  • getColHidden
    returns the hidden status of the column, if the index is valid, otherwise false.
  • getColName
    returns the name of the row, if the index is valid, otherwise null. if getPrintColNames() is FALSE t
  • getColNameWidth
    returns the current width for the column names.
  • getColName,
  • getColNameWidth,
  • getColOrder,
  • getColSize,
  • getCountWidth,
  • getDefaultColNameWidth,
  • getDefaultCountWidth,
  • getDefaultEnumerateColNames,
  • getDefaultEnumerateRowNames,
  • getDefaultMeanPrec

Popular in Java

  • Running tasks concurrently on multiple threads
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • runOnUiThread (Activity)
  • getSystemService (Context)
  • BigDecimal (java.math)
    An immutable arbitrary-precision signed decimal.A value is represented by an arbitrary-precision "un
  • URI (java.net)
    A Uniform Resource Identifier that identifies an abstract or physical resource, as specified by RFC
  • Selector (java.nio.channels)
    A controller for the selection of SelectableChannel objects. Selectable channels can be registered w
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • IsNull (org.hamcrest.core)
    Is the value null?
  • Runner (org.openjdk.jmh.runner)
  • From CI to AI: The AI layer in your organization
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