object Writability
Companion object for Writability
that provides implicit implementations for the following types:
java.io.File
- arbitary object with a
isWritable()
method that returnsBoolean
- arbitary object with a parameterless
isWritable
method that returnsBoolean
- Source
- Writability.scala
- Alphabetic
- By Inheritance
- Writability
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
implicit
def
writabilityOfAnyRefWithIsWritableMethod[T <: AnyRef { def isWritable(): Boolean }]: Writability[T]
Enable
Writability
implementation for any arbitrary object with aisWritable()
method that returnsBoolean
Enable
Writability
implementation for any arbitrary object with aisWritable()
method that returnsBoolean
- T
any type that has a
isWritable()
method that returnsBoolean
- returns
Writability[T]
that supportsT
inbe
writable
syntax
-
implicit
def
writabilityOfAnyRefWithParameterlessIsWritableMethod[T <: AnyRef { def isWritable: Boolean }]: Writability[T]
Enable
Writability
implementation for any arbitrary object with a parameterlessisWritable
method that returnsBoolean
Enable
Writability
implementation for any arbitrary object with a parameterlessisWritable
method that returnsBoolean
- T
any type that has a parameterless
isWritable
method that returnsBoolean
- returns
Writability[T]
that supportsT
inbe
writable
syntax
-
implicit
def
writabilityOfFile[FILE <: File]: Writability[FILE]
Enable
Writability
implementation forjava.io.File
.Enable
Writability
implementation forjava.io.File
.- FILE
any subtype of
java.io.File
- returns
Writability[FILE]
that supportsjava.io.File
inbe
writable
syntax