object ByName extends Serializable
Ordering
- Alphabetic
- By Inheritance
Inherited
- ByName
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
-
type
=>[Value] = ⇒ Value
An alias to by-name type.
An alias to by-name type.
- Note
Unlike by-name types created from keyword
=>
, this => alias can be used for type parameters.import com.thoughtworks.feature.ByName.`=>` "val keywordByNameList = List.empty[=> Int]" shouldNot compile "val boxedByNameList = List.empty[`=>`[Int]]" should compile
,Unlike by-name types created from keyword
=>
, this => alias can be used for return types.import com.thoughtworks.feature.ByName.`=>` "def keywordByName: => Int = ???" shouldNot compile "def boxedByName: `=>`[Int] = ???" should compile
- trait AllOps[ByNameType] extends Ops[ByNameType]
- type Aux[Boxed, Value0] = ByName[Boxed] { type Value = Value0 }
- trait Ops[ByNameType] extends AnyRef
- trait ToByNameOps extends AnyRef
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
-
def
apply[ByNameType](implicit instance: ByName[ByNameType]): ByName[ByNameType] { type Value = instance.Value }
- Annotations
- @inline()
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @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
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
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()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- implicit def ofValue[Value0]: Aux[⇒ Value0, Value0]
-
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
- @native() @throws( ... )
- object nonInheritedOps extends ToByNameOps
- object ops