Online Mind Mapping and Brainstorming

Create your own awesome maps

Online Mind Mapping and Brainstorming

Even on the go

with our free apps for iPhone, iPad and Android

Get Started

Already have an account? Log In

scala by Mind Map: scala
0.0 stars - reviews range from 0 to 5

scala

Structural Typing

"type"

type Bloggable = { def toHtml(): HtmlFragment }

import

import Top.{B => _, C => _, _}

import Top2.{A => OtherA}

operator overloading

operator is method

nest package

== vs. eq()

access modifer

protected

derived class only,only own type

additional parameter

private[AccessQualifier]

protected[this]

companion class/object

access private,no boundaries

type inference

compile time

Any<->Nothing

Option:getOrElse

"=" or void method

_* in parameter

covariance/contravariance

<: upper bound

>: lower bound

List[+T]

List[-T]

functional

function value

is obj in scala

closure

high order function

take function as parameter

currying

fun()()()(),fun{}{}{}{}

positional notation

_

{max( _, _)}

max _

max

with traits

extends abtract class

limit with by type

super.xx()

<--

implicit type

Predef

at most one

List

::

:::

faster

unary

def unary_-={}

+,-,!,~

for

for([pattern<-generator;definition*]+;filter*) [yield] expression

match

...case List(1,2,else@_*)...print(else)...

pattern variables-> lowerCase;Contants->upperCase

case class

sealed

match(some:Any)...case_

extractor

unapply(), return sth. named as parameters, vs. apply();oppsite

symbol @ extractor()

reg ex

is extractor auto

get Or check