object
Resource
Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: Any): Boolean
-
def
apply[T <: AutoCloseable](resource: T): Resource[T]
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
val
empty: Resource[Unit]
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
finalize(): Unit
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
implicit
def
toCloseable[T <: AnyRef { def close(): Unit }](obj: T): AutoCloseable
-
implicit
def
toResource[T <: AutoCloseable](resource: T): Resource[T]
-
def
toString(): String
-
-
-
-
-
-
-
-
-
-
def
use[RES, A, B, C, D, E, F, G, H, I, J, K, L, M](a: Resource[A], b: Resource[B], c: Resource[C], d: Resource[D], e: Resource[E], f: Resource[F], g: Resource[G], h: Resource[H], i: Resource[I], j: Resource[J], k: Resource[K], l: Resource[L], m: Resource[M])(fun: (A, B, C, D, E, F, G, H, I, J, K, L, M) ⇒ RES): RES
-
def
use[RES, A, B, C, D, E, F, G, H, I, J, K, L](a: Resource[A], b: Resource[B], c: Resource[C], d: Resource[D], e: Resource[E], f: Resource[F], g: Resource[G], h: Resource[H], i: Resource[I], j: Resource[J], k: Resource[K], l: Resource[L])(fun: (A, B, C, D, E, F, G, H, I, J, K, L) ⇒ RES): RES
-
def
use[RES, A, B, C, D, E, F, G, H, I, J, K](a: Resource[A], b: Resource[B], c: Resource[C], d: Resource[D], e: Resource[E], f: Resource[F], g: Resource[G], h: Resource[H], i: Resource[I], j: Resource[J], k: Resource[K])(fun: (A, B, C, D, E, F, G, H, I, J, K) ⇒ RES): RES
-
def
use[RES, A, B, C, D, E, F, G, H, I, J](a: Resource[A], b: Resource[B], c: Resource[C], d: Resource[D], e: Resource[E], f: Resource[F], g: Resource[G], h: Resource[H], i: Resource[I], j: Resource[J])(fun: (A, B, C, D, E, F, G, H, I, J) ⇒ RES): RES
-
def
use[RES, A, B, C, D, E, F, G, H, I](a: Resource[A], b: Resource[B], c: Resource[C], d: Resource[D], e: Resource[E], f: Resource[F], g: Resource[G], h: Resource[H], i: Resource[I])(fun: (A, B, C, D, E, F, G, H, I) ⇒ RES): RES
-
def
use[RES, A, B, C, D, E, F, G, H](a: Resource[A], b: Resource[B], c: Resource[C], d: Resource[D], e: Resource[E], f: Resource[F], g: Resource[G], h: Resource[H])(fun: (A, B, C, D, E, F, G, H) ⇒ RES): RES
-
def
use[RES, A, B, C, D, E, F, G](a: Resource[A], b: Resource[B], c: Resource[C], d: Resource[D], e: Resource[E], f: Resource[F], g: Resource[G])(fun: (A, B, C, D, E, F, G) ⇒ RES): RES
-
def
use[RES, A, B, C, D, E, F](a: Resource[A], b: Resource[B], c: Resource[C], d: Resource[D], e: Resource[E], f: Resource[F])(fun: (A, B, C, D, E, F) ⇒ RES): RES
-
def
use[RES, A, B, C, D, E](a: Resource[A], b: Resource[B], c: Resource[C], d: Resource[D], e: Resource[E])(fun: (A, B, C, D, E) ⇒ RES): RES
-
def
use[RES, A, B, C, D](a: Resource[A], b: Resource[B], c: Resource[C], d: Resource[D])(fun: (A, B, C, D) ⇒ RES): RES
-
def
use[RES, A, B, C](a: Resource[A], b: Resource[B], c: Resource[C])(fun: (A, B, C) ⇒ RES): RES
-
def
use[RES, A, B](a: Resource[A], b: Resource[B])(fun: (A, B) ⇒ RES): RES
-
def
use[RES, A](a: Resource[A])(fun: (A) ⇒ RES): RES
-
def
using[RES, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V](a: A, b: B, c: C, d: D, e: E, f: F, g: G, h: H, i: I, j: J, k: K, l: L, m: M, n: N, o: O, p: P, q: Q, r: R, s: S, t: T, u: U, v: V)(fun: (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V) ⇒ RES)(implicit arg0: (A) ⇒ AutoCloseable, arg1: (B) ⇒ AutoCloseable, arg2: (C) ⇒ AutoCloseable, arg3: (D) ⇒ AutoCloseable, arg4: (E) ⇒ AutoCloseable, arg5: (F) ⇒ AutoCloseable, arg6: (G) ⇒ AutoCloseable, arg7: (H) ⇒ AutoCloseable, arg8: (I) ⇒ AutoCloseable, arg9: (J) ⇒ AutoCloseable, arg10: (K) ⇒ AutoCloseable, arg11: (L) ⇒ AutoCloseable, arg12: (M) ⇒ AutoCloseable, arg13: (N) ⇒ AutoCloseable, arg14: (O) ⇒ AutoCloseable, arg15: (P) ⇒ AutoCloseable, arg16: (Q) ⇒ AutoCloseable, arg17: (R) ⇒ AutoCloseable, arg18: (S) ⇒ AutoCloseable, arg19: (T) ⇒ AutoCloseable, arg20: (U) ⇒ AutoCloseable, arg21: (V) ⇒ AutoCloseable): RES
-
def
using[RES, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U](a: A, b: B, c: C, d: D, e: E, f: F, g: G, h: H, i: I, j: J, k: K, l: L, m: M, n: N, o: O, p: P, q: Q, r: R, s: S, t: T, u: U)(fun: (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U) ⇒ RES)(implicit arg0: (A) ⇒ AutoCloseable, arg1: (B) ⇒ AutoCloseable, arg2: (C) ⇒ AutoCloseable, arg3: (D) ⇒ AutoCloseable, arg4: (E) ⇒ AutoCloseable, arg5: (F) ⇒ AutoCloseable, arg6: (G) ⇒ AutoCloseable, arg7: (H) ⇒ AutoCloseable, arg8: (I) ⇒ AutoCloseable, arg9: (J) ⇒ AutoCloseable, arg10: (K) ⇒ AutoCloseable, arg11: (L) ⇒ AutoCloseable, arg12: (M) ⇒ AutoCloseable, arg13: (N) ⇒ AutoCloseable, arg14: (O) ⇒ AutoCloseable, arg15: (P) ⇒ AutoCloseable, arg16: (Q) ⇒ AutoCloseable, arg17: (R) ⇒ AutoCloseable, arg18: (S) ⇒ AutoCloseable, arg19: (T) ⇒ AutoCloseable, arg20: (U) ⇒ AutoCloseable): RES
-
def
using[RES, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T](a: A, b: B, c: C, d: D, e: E, f: F, g: G, h: H, i: I, j: J, k: K, l: L, m: M, n: N, o: O, p: P, q: Q, r: R, s: S, t: T)(fun: (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T) ⇒ RES)(implicit arg0: (A) ⇒ AutoCloseable, arg1: (B) ⇒ AutoCloseable, arg2: (C) ⇒ AutoCloseable, arg3: (D) ⇒ AutoCloseable, arg4: (E) ⇒ AutoCloseable, arg5: (F) ⇒ AutoCloseable, arg6: (G) ⇒ AutoCloseable, arg7: (H) ⇒ AutoCloseable, arg8: (I) ⇒ AutoCloseable, arg9: (J) ⇒ AutoCloseable, arg10: (K) ⇒ AutoCloseable, arg11: (L) ⇒ AutoCloseable, arg12: (M) ⇒ AutoCloseable, arg13: (N) ⇒ AutoCloseable, arg14: (O) ⇒ AutoCloseable, arg15: (P) ⇒ AutoCloseable, arg16: (Q) ⇒ AutoCloseable, arg17: (R) ⇒ AutoCloseable, arg18: (S) ⇒ AutoCloseable, arg19: (T) ⇒ AutoCloseable): RES
-
def
using[RES, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S](a: A, b: B, c: C, d: D, e: E, f: F, g: G, h: H, i: I, j: J, k: K, l: L, m: M, n: N, o: O, p: P, q: Q, r: R, s: S)(fun: (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S) ⇒ RES)(implicit arg0: (A) ⇒ AutoCloseable, arg1: (B) ⇒ AutoCloseable, arg2: (C) ⇒ AutoCloseable, arg3: (D) ⇒ AutoCloseable, arg4: (E) ⇒ AutoCloseable, arg5: (F) ⇒ AutoCloseable, arg6: (G) ⇒ AutoCloseable, arg7: (H) ⇒ AutoCloseable, arg8: (I) ⇒ AutoCloseable, arg9: (J) ⇒ AutoCloseable, arg10: (K) ⇒ AutoCloseable, arg11: (L) ⇒ AutoCloseable, arg12: (M) ⇒ AutoCloseable, arg13: (N) ⇒ AutoCloseable, arg14: (O) ⇒ AutoCloseable, arg15: (P) ⇒ AutoCloseable, arg16: (Q) ⇒ AutoCloseable, arg17: (R) ⇒ AutoCloseable, arg18: (S) ⇒ AutoCloseable): RES
-
def
using[RES, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R](a: A, b: B, c: C, d: D, e: E, f: F, g: G, h: H, i: I, j: J, k: K, l: L, m: M, n: N, o: O, p: P, q: Q, r: R)(fun: (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R) ⇒ RES)(implicit arg0: (A) ⇒ AutoCloseable, arg1: (B) ⇒ AutoCloseable, arg2: (C) ⇒ AutoCloseable, arg3: (D) ⇒ AutoCloseable, arg4: (E) ⇒ AutoCloseable, arg5: (F) ⇒ AutoCloseable, arg6: (G) ⇒ AutoCloseable, arg7: (H) ⇒ AutoCloseable, arg8: (I) ⇒ AutoCloseable, arg9: (J) ⇒ AutoCloseable, arg10: (K) ⇒ AutoCloseable, arg11: (L) ⇒ AutoCloseable, arg12: (M) ⇒ AutoCloseable, arg13: (N) ⇒ AutoCloseable, arg14: (O) ⇒ AutoCloseable, arg15: (P) ⇒ AutoCloseable, arg16: (Q) ⇒ AutoCloseable, arg17: (R) ⇒ AutoCloseable): RES
-
def
using[RES, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q](a: A, b: B, c: C, d: D, e: E, f: F, g: G, h: H, i: I, j: J, k: K, l: L, m: M, n: N, o: O, p: P, q: Q)(fun: (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q) ⇒ RES)(implicit arg0: (A) ⇒ AutoCloseable, arg1: (B) ⇒ AutoCloseable, arg2: (C) ⇒ AutoCloseable, arg3: (D) ⇒ AutoCloseable, arg4: (E) ⇒ AutoCloseable, arg5: (F) ⇒ AutoCloseable, arg6: (G) ⇒ AutoCloseable, arg7: (H) ⇒ AutoCloseable, arg8: (I) ⇒ AutoCloseable, arg9: (J) ⇒ AutoCloseable, arg10: (K) ⇒ AutoCloseable, arg11: (L) ⇒ AutoCloseable, arg12: (M) ⇒ AutoCloseable, arg13: (N) ⇒ AutoCloseable, arg14: (O) ⇒ AutoCloseable, arg15: (P) ⇒ AutoCloseable, arg16: (Q) ⇒ AutoCloseable): RES
-
def
using[RES, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P](a: A, b: B, c: C, d: D, e: E, f: F, g: G, h: H, i: I, j: J, k: K, l: L, m: M, n: N, o: O, p: P)(fun: (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P) ⇒ RES)(implicit arg0: (A) ⇒ AutoCloseable, arg1: (B) ⇒ AutoCloseable, arg2: (C) ⇒ AutoCloseable, arg3: (D) ⇒ AutoCloseable, arg4: (E) ⇒ AutoCloseable, arg5: (F) ⇒ AutoCloseable, arg6: (G) ⇒ AutoCloseable, arg7: (H) ⇒ AutoCloseable, arg8: (I) ⇒ AutoCloseable, arg9: (J) ⇒ AutoCloseable, arg10: (K) ⇒ AutoCloseable, arg11: (L) ⇒ AutoCloseable, arg12: (M) ⇒ AutoCloseable, arg13: (N) ⇒ AutoCloseable, arg14: (O) ⇒ AutoCloseable, arg15: (P) ⇒ AutoCloseable): RES
-
def
using[RES, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O](a: A, b: B, c: C, d: D, e: E, f: F, g: G, h: H, i: I, j: J, k: K, l: L, m: M, n: N, o: O)(fun: (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O) ⇒ RES)(implicit arg0: (A) ⇒ AutoCloseable, arg1: (B) ⇒ AutoCloseable, arg2: (C) ⇒ AutoCloseable, arg3: (D) ⇒ AutoCloseable, arg4: (E) ⇒ AutoCloseable, arg5: (F) ⇒ AutoCloseable, arg6: (G) ⇒ AutoCloseable, arg7: (H) ⇒ AutoCloseable, arg8: (I) ⇒ AutoCloseable, arg9: (J) ⇒ AutoCloseable, arg10: (K) ⇒ AutoCloseable, arg11: (L) ⇒ AutoCloseable, arg12: (M) ⇒ AutoCloseable, arg13: (N) ⇒ AutoCloseable, arg14: (O) ⇒ AutoCloseable): RES
-
def
using[RES, A, B, C, D, E, F, G, H, I, J, K, L, M, N](a: A, b: B, c: C, d: D, e: E, f: F, g: G, h: H, i: I, j: J, k: K, l: L, m: M, n: N)(fun: (A, B, C, D, E, F, G, H, I, J, K, L, M, N) ⇒ RES)(implicit arg0: (A) ⇒ AutoCloseable, arg1: (B) ⇒ AutoCloseable, arg2: (C) ⇒ AutoCloseable, arg3: (D) ⇒ AutoCloseable, arg4: (E) ⇒ AutoCloseable, arg5: (F) ⇒ AutoCloseable, arg6: (G) ⇒ AutoCloseable, arg7: (H) ⇒ AutoCloseable, arg8: (I) ⇒ AutoCloseable, arg9: (J) ⇒ AutoCloseable, arg10: (K) ⇒ AutoCloseable, arg11: (L) ⇒ AutoCloseable, arg12: (M) ⇒ AutoCloseable, arg13: (N) ⇒ AutoCloseable): RES
-
def
using[RES, A, B, C, D, E, F, G, H, I, J, K, L, M](a: A, b: B, c: C, d: D, e: E, f: F, g: G, h: H, i: I, j: J, k: K, l: L, m: M)(fun: (A, B, C, D, E, F, G, H, I, J, K, L, M) ⇒ RES)(implicit arg0: (A) ⇒ AutoCloseable, arg1: (B) ⇒ AutoCloseable, arg2: (C) ⇒ AutoCloseable, arg3: (D) ⇒ AutoCloseable, arg4: (E) ⇒ AutoCloseable, arg5: (F) ⇒ AutoCloseable, arg6: (G) ⇒ AutoCloseable, arg7: (H) ⇒ AutoCloseable, arg8: (I) ⇒ AutoCloseable, arg9: (J) ⇒ AutoCloseable, arg10: (K) ⇒ AutoCloseable, arg11: (L) ⇒ AutoCloseable, arg12: (M) ⇒ AutoCloseable): RES
-
def
using[RES, A, B, C, D, E, F, G, H, I, J, K, L](a: A, b: B, c: C, d: D, e: E, f: F, g: G, h: H, i: I, j: J, k: K, l: L)(fun: (A, B, C, D, E, F, G, H, I, J, K, L) ⇒ RES)(implicit arg0: (A) ⇒ AutoCloseable, arg1: (B) ⇒ AutoCloseable, arg2: (C) ⇒ AutoCloseable, arg3: (D) ⇒ AutoCloseable, arg4: (E) ⇒ AutoCloseable, arg5: (F) ⇒ AutoCloseable, arg6: (G) ⇒ AutoCloseable, arg7: (H) ⇒ AutoCloseable, arg8: (I) ⇒ AutoCloseable, arg9: (J) ⇒ AutoCloseable, arg10: (K) ⇒ AutoCloseable, arg11: (L) ⇒ AutoCloseable): RES
-
def
using[RES, A, B, C, D, E, F, G, H, I, J, K](a: A, b: B, c: C, d: D, e: E, f: F, g: G, h: H, i: I, j: J, k: K)(fun: (A, B, C, D, E, F, G, H, I, J, K) ⇒ RES)(implicit arg0: (A) ⇒ AutoCloseable, arg1: (B) ⇒ AutoCloseable, arg2: (C) ⇒ AutoCloseable, arg3: (D) ⇒ AutoCloseable, arg4: (E) ⇒ AutoCloseable, arg5: (F) ⇒ AutoCloseable, arg6: (G) ⇒ AutoCloseable, arg7: (H) ⇒ AutoCloseable, arg8: (I) ⇒ AutoCloseable, arg9: (J) ⇒ AutoCloseable, arg10: (K) ⇒ AutoCloseable): RES
-
def
using[RES, A, B, C, D, E, F, G, H, I, J](a: A, b: B, c: C, d: D, e: E, f: F, g: G, h: H, i: I, j: J)(fun: (A, B, C, D, E, F, G, H, I, J) ⇒ RES)(implicit arg0: (A) ⇒ AutoCloseable, arg1: (B) ⇒ AutoCloseable, arg2: (C) ⇒ AutoCloseable, arg3: (D) ⇒ AutoCloseable, arg4: (E) ⇒ AutoCloseable, arg5: (F) ⇒ AutoCloseable, arg6: (G) ⇒ AutoCloseable, arg7: (H) ⇒ AutoCloseable, arg8: (I) ⇒ AutoCloseable, arg9: (J) ⇒ AutoCloseable): RES
-
def
using[RES, A, B, C, D, E, F, G, H, I](a: A, b: B, c: C, d: D, e: E, f: F, g: G, h: H, i: I)(fun: (A, B, C, D, E, F, G, H, I) ⇒ RES)(implicit arg0: (A) ⇒ AutoCloseable, arg1: (B) ⇒ AutoCloseable, arg2: (C) ⇒ AutoCloseable, arg3: (D) ⇒ AutoCloseable, arg4: (E) ⇒ AutoCloseable, arg5: (F) ⇒ AutoCloseable, arg6: (G) ⇒ AutoCloseable, arg7: (H) ⇒ AutoCloseable, arg8: (I) ⇒ AutoCloseable): RES
-
def
using[RES, A, B, C, D, E, F, G, H](a: A, b: B, c: C, d: D, e: E, f: F, g: G, h: H)(fun: (A, B, C, D, E, F, G, H) ⇒ RES)(implicit arg0: (A) ⇒ AutoCloseable, arg1: (B) ⇒ AutoCloseable, arg2: (C) ⇒ AutoCloseable, arg3: (D) ⇒ AutoCloseable, arg4: (E) ⇒ AutoCloseable, arg5: (F) ⇒ AutoCloseable, arg6: (G) ⇒ AutoCloseable, arg7: (H) ⇒ AutoCloseable): RES
-
def
using[RES, A, B, C, D, E, F, G](a: A, b: B, c: C, d: D, e: E, f: F, g: G)(fun: (A, B, C, D, E, F, G) ⇒ RES)(implicit arg0: (A) ⇒ AutoCloseable, arg1: (B) ⇒ AutoCloseable, arg2: (C) ⇒ AutoCloseable, arg3: (D) ⇒ AutoCloseable, arg4: (E) ⇒ AutoCloseable, arg5: (F) ⇒ AutoCloseable, arg6: (G) ⇒ AutoCloseable): RES
-
def
using[RES, A, B, C, D, E, F](a: A, b: B, c: C, d: D, e: E, f: F)(fun: (A, B, C, D, E, F) ⇒ RES)(implicit arg0: (A) ⇒ AutoCloseable, arg1: (B) ⇒ AutoCloseable, arg2: (C) ⇒ AutoCloseable, arg3: (D) ⇒ AutoCloseable, arg4: (E) ⇒ AutoCloseable, arg5: (F) ⇒ AutoCloseable): RES
-
def
using[RES, A, B, C, D, E](a: A, b: B, c: C, d: D, e: E)(fun: (A, B, C, D, E) ⇒ RES)(implicit arg0: (A) ⇒ AutoCloseable, arg1: (B) ⇒ AutoCloseable, arg2: (C) ⇒ AutoCloseable, arg3: (D) ⇒ AutoCloseable, arg4: (E) ⇒ AutoCloseable): RES
-
def
using[RES, A, B, C, D](a: A, b: B, c: C, d: D)(fun: (A, B, C, D) ⇒ RES)(implicit arg0: (A) ⇒ AutoCloseable, arg1: (B) ⇒ AutoCloseable, arg2: (C) ⇒ AutoCloseable, arg3: (D) ⇒ AutoCloseable): RES
-
def
using[RES, A, B, C](a: A, b: B, c: C)(fun: (A, B, C) ⇒ RES)(implicit arg0: (A) ⇒ AutoCloseable, arg1: (B) ⇒ AutoCloseable, arg2: (C) ⇒ AutoCloseable): RES
-
def
using[RES, A, B](a: A, b: B)(fun: (A, B) ⇒ RES)(implicit arg0: (A) ⇒ AutoCloseable, arg1: (B) ⇒ AutoCloseable): RES
-
def
using[T, R](resources: Seq[R])(f: (Seq[R]) ⇒ T)(implicit arg0: (R) ⇒ AutoCloseable): T
-
def
using[T, R](resource: R)(f: (R) ⇒ T)(implicit arg0: (R) ⇒ AutoCloseable): T
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
Inherited from AnyRef
Inherited from Any