checkPositive

Checks that the given argument is strictly positive. If it is not, throws {@link IllegalArgumentException}. Otherwise, returns the argument.

  1. int checkPositive(int i, string name)
    int
    checkPositive
    (
    int i
    ,
    string name
    )
  2. long checkPositive(long i, string name)

Meta