Tabnine Logo
BuilderMethods.value
Code IndexAdd Tabnine to your IDE (free)

How to use
value
method
in
io.smartcat.ranger.BuilderMethods

Best Java code snippets using io.smartcat.ranger.BuilderMethods.value (Showing top 4 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
List l =
  • Codota Iconnew ArrayList()
  • Codota Iconnew LinkedList()
  • Smart code suggestions by Tabnine
}
origin: io.smartcat/ranger

/**
 * Creates an instance of {@link CountPair}. This is a helper method that is useful for following methods:<br>
 * {@link #exactly(CountPair...)}<br>
 * {@link #exactly(List)}<br>
 *
 * @param value The value.
 * @param count Represents how many times value can be used.
 * @param <T> Type of value count pair contains.
 * @return An instance of {@link CountPair}.
 */
public static <T> CountPair<T> countPair(T value, int count) {
  return new CountPair<>(value(value), count);
}
origin: smartcat-labs/ranger

/**
 * Creates an instance of {@link CountPair}. This is a helper method that is useful for following methods:<br>
 * {@link #exactly(CountPair...)}<br>
 * {@link #exactly(List)}<br>
 *
 * @param value The value.
 * @param count Represents how many times value can be used.
 * @param <T> Type of value count pair contains.
 * @return An instance of {@link CountPair}.
 */
public static <T> CountPair<T> countPair(T value, int count) {
  return new CountPair<>(value(value), count);
}
origin: smartcat-labs/ranger

/**
 * Creates an instance of {@link WeightPair}. This is a helper method that is useful for following methods:<br>
 * {@link #weighted(WeightPair...)}<br>
 * {@link #weighted(List)}<br>
 *
 * @param value The value.
 * @param weight Represents distribution weight of this value.
 * @param <T> Type of value weight pair contains.
 * @return An instance of {@link CountPair}.
 */
public static <T> WeightPair<T> weightPair(T value, double weight) {
  return new WeightPair<>(value(value), weight);
}
origin: io.smartcat/ranger

/**
 * Creates an instance of {@link WeightPair}. This is a helper method that is useful for following methods:<br>
 * {@link #weighted(WeightPair...)}<br>
 * {@link #weighted(List)}<br>
 *
 * @param value The value.
 * @param weight Represents distribution weight of this value.
 * @param <T> Type of value weight pair contains.
 * @return An instance of {@link CountPair}.
 */
public static <T> WeightPair<T> weightPair(T value, double weight) {
  return new WeightPair<>(value(value), weight);
}
io.smartcat.rangerBuilderMethodsvalue

Popular methods of BuilderMethods

  • circular
    Creates an instance of ObjectGenerator which generates values in order they are specified. When valu
  • exactly
    Creates an instance of ObjectGenerator which generates each value exactly specified number of times.
  • list
    Creates an instance of ObjectGenerator which generates list containing all values specified.
  • random
    Creates an instance of ObjectGenerator which generates uniformly distributed values from specified l
  • randomContentString
    Creates an instance of ObjectGenerator which generates random string values of length to whichlength
  • string
    Creates an instance of ObjectGenerator which generates a formatted string using the specified format
  • toRange
  • unwrap
  • unwrapCountPairs
  • unwrapRaw
  • unwrapWeightPairs
  • weighted
    Creates an instance of ObjectGenerator which generates specified values distributed by their weights
  • unwrapWeightPairs,
  • weighted,
  • wrap

Popular in Java

  • Updating database using SQL prepared statement
  • getSupportFragmentManager (FragmentActivity)
  • setRequestProperty (URLConnection)
  • getSharedPreferences (Context)
  • BufferedInputStream (java.io)
    A BufferedInputStream adds functionality to another input stream-namely, the ability to buffer the i
  • Date (java.sql)
    A class which can consume and produce dates in SQL Date format. Dates are represented in SQL as yyyy
  • TreeSet (java.util)
    TreeSet is an implementation of SortedSet. All optional operations (adding and removing) are support
  • JarFile (java.util.jar)
    JarFile is used to read jar entries and their associated data from jar files.
  • JTextField (javax.swing)
  • Base64 (org.apache.commons.codec.binary)
    Provides Base64 encoding and decoding as defined by RFC 2045.This class implements section 6.8. Base
  • 21 Best IntelliJ 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