-
Notifications
You must be signed in to change notification settings - Fork 136
Type Interfaces : EmptyUnit
johnmcclean-aol edited this page Nov 23, 2016
·
1 revision
The EmptyUnit interface defines an emptyUnit method that creates an empty instance of the concrete type.
EmptyUnit contains a single method
- emptyUnit : create a new instance of the concrete type of the EmptyUnit with the supplied generic parameter
AnyM<String> list = AnyM.fromList(ListX.of(1,2,3))
.emptyUnit(); //AnyM[List()]
AnyM, AnyMSeq, AnyMValue
oops - my bad