aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/connector/gc/MapTokens.java
blob: b41533d6e1e70c453c0a788cfa8966df0fdb9183 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
package cgeo.geocaching.connector.gc;

import android.util.Pair;

/**
 * Wrapper type to make map tokens more type safe than with a String array.
 *
 */
public final class MapTokens extends Pair<String, String> {

    MapTokens(final String userSession, final String sessionToken) {
        super(userSession, sessionToken);
    }

    public String getUserSession() {
        return first;
    }

    public String getSessionToken() {
        return second;
    }

}