switch case

switch(表达式){
case AnimationStatus.completed:
代码块;
break;
default:
代码块;
}


switch(animationController.status){
case AnimationStatus.completed:
animationController.reverse();
break;
default:
animationController.forward();
}


 
上一篇:(java面向对象)static认知(not completed)


下一篇:ccf-201909-1小明种苹果