aboutsummaryrefslogtreecommitdiff
path: root/subsonic-android/src/github/daneren2005/subphonic/domain/RepeatMode.java
blob: 41421ef2e84089ba9a8eb2da8713c2b3aefbbc49 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
package github.daneren2005.subphonic.domain;

/**
 * @author Sindre Mehus
 * @version $Id$
 */
public enum RepeatMode {
    OFF {
        @Override
        public RepeatMode next() {
            return ALL;
        }
    },
    ALL {
        @Override
        public RepeatMode next() {
            return SINGLE;
        }
    },
    SINGLE {
        @Override
        public RepeatMode next() {
            return OFF;
        }
    };

    public abstract RepeatMode next();
}