aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/connector/gc/MapTokens.java
blob: 78ce4cb86e1deb004f0150bffd1e645fbaa67fc3 (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> {

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

    public String getUserSession() {
        return first;
    }

    public String getSessionToken() {
        return second;
    }

}