Created
June 4, 2011 04:02
-
-
Save diegodfsd/1007563 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
switch (seu valor) { | |
case 0..9 : //faz algo ; break | |
case [8,9,11] : //faz algo ; break | |
case Float : //faz algo ; break | |
case {it%3 == 0}: //faz algo ; break | |
case ~/../ : //faz algo ; break | |
default : //faz algo ; break | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment