aboutsummaryrefslogtreecommitdiff
path: root/subsonic-android/src/net/sourceforge/subsonic/androidapp/domain/RepeatMode.java
blob: be2ad06136d7af90e6cf5d37df4dd8e12fd19cb8 (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 net.sourceforge.subsonic.androidapp.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();
}