object Utils
- Alphabetic
- By Inheritance
- Utils
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def checkEnvironmentFlag(variable: String): Boolean
Returns true if the environment variable
variableis "1" or "true" (case insentitive).Returns true if the environment variable
variableis "1" or "true" (case insentitive). False in all other cases (including if the variable does not exist or cannot be read for security reasons. - def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- def cygwinPath(path: Path): String
Converts
pathto a path understood by Cygwin.Converts
pathto a path understood by Cygwin. (Only available when running under Windows.) - def destroyProcessThoroughly(process: Process): Unit
Destroys the process
process.Destroys the process
process. Unlikeprocess.destroy(), this also invokes.destroy()on all child processes. And one second later, it invokes.destroyForcibly()in case they didn't terminate yet. - final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def freshName(name: String): String
Generates a fresh name based on
name.Generates a fresh name based on
name.The name is guaranteed to:
- Be unique (by containing a random substring)
- Contain only ASCII letters, digits, and underscores
- Start with a letter
namewill be a prefix of the fresh name as far as possible.- returns
the fresh name
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def randomString(): String
Returns a unique random alphanumeric string
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])