|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
This report was generated with an evaluation server license. Purchase Clover or configure your license. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
RepeatMode | Line # 7 | 3 | 3 | 100% |
1.0
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||
No Tests | |||
1 | package net.sourceforge.subsonic.androidapp.domain; | |
2 | ||
3 | /** | |
4 | * @author Sindre Mehus | |
5 | * @version $Id$ | |
6 | */ | |
7 | public enum RepeatMode { | |
8 | OFF { | |
9 | 2 |
![]() |
10 | public RepeatMode next() { | |
11 | 2 | return ALL; |
12 | } | |
13 | }, | |
14 | ALL { | |
15 | 2 |
![]() |
16 | public RepeatMode next() { | |
17 | 2 | return SINGLE; |
18 | } | |
19 | }, | |
20 | SINGLE { | |
21 | 1 |
![]() |
22 | public RepeatMode next() { | |
23 | 1 | return OFF; |
24 | } | |
25 | }; | |
26 | ||
27 | public abstract RepeatMode next(); | |
28 | } |
|