congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
Assert.notNegative
Code IndexAdd Tabnine to your IDE (free)

How to use
notNegative
method
in
com.nuecho.rivr.core.util.Assert

Best Java code snippets using com.nuecho.rivr.core.util.Assert.notNegative (Showing top 1 results out of 315)

origin: nuecho/rivr

public static Duration milliseconds(long milliseconds) {
  Assert.notNegative(milliseconds, "milliseconds");
  return new Duration(milliseconds);
}
com.nuecho.rivr.core.utilAssertnotNegative

Popular methods of Assert

  • between
  • ensure
  • notNull
  • asListChecked
  • noNullValues
  • notEmpty
  • positive

Popular in Java

  • Making http requests using okhttp
  • getSupportFragmentManager (FragmentActivity)
  • getContentResolver (Context)
  • addToBackStack (FragmentTransaction)
  • File (java.io)
    An "abstract" representation of a file system entity identified by a pathname. The pathname may be a
  • OutputStream (java.io)
    A writable sink for bytes.Most clients will use output streams that write data to the file system (
  • Thread (java.lang)
    A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
  • Charset (java.nio.charset)
    A charset is a named mapping between Unicode characters and byte sequences. Every Charset can decode
  • DataSource (javax.sql)
    An interface for the creation of Connection objects which represent a connection to a database. This
  • Response (javax.ws.rs.core)
    Defines the contract between a returned instance and the runtime when an application needs to provid
  • Top PhpStorm plugins
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