DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SCALA
add method to string class scala
object
CoolString
{
implicit
class
CoolString
(
string
:
String
)
{
def
newMethod
(
)
=
?
?
?
}
}
PREVIOUS
NEXT
Tagged:
#add
#method
#string
#class
#scala
ADD COMMENT
Topic
COMMENT
Name
3+4 =
Submit