final case class AutoClose[R <: AutoCloseable](open: () ⇒ R) extends AnyVal with Keyword[AutoClose[R], R] with Product with Serializable
- Alphabetic
- By Inheritance
- AutoClose
- Serializable
- Serializable
- Product
- Equals
- Keyword
- AnyVal
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Instance Constructors
- new AutoClose(open: () ⇒ R)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
##(): Int
- Definition Classes
- Any
- def +(other: String): String
- def ->[B](y: B): (AutoClose[R], B)
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
final
def
cpsApply[Domain](handler: (R) ⇒ Domain)(implicit dsl: Dsl[AutoClose[R], Domain, R]): Domain
- Definition Classes
- Keyword
- Annotations
- @inline()
- def ensuring(cond: (AutoClose[R]) ⇒ Boolean, msg: ⇒ Any): AutoClose[R]
- def ensuring(cond: (AutoClose[R]) ⇒ Boolean): AutoClose[R]
- def ensuring(cond: Boolean, msg: ⇒ Any): AutoClose[R]
- def ensuring(cond: Boolean): AutoClose[R]
- def formatted(fmtstr: String): String
-
def
getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val open: () ⇒ R
- final def unary_!: R
- def →[B](y: B): (AutoClose[R], B)