aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/gcvote/GCVoteRating.java
blob: f6813a28d9d65c4ae156835d5fed567d36084696 (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
package cgeo.geocaching.gcvote;

public final class GCVoteRating {
    private final float rating;
    private final int votes;
    private final float myVote;

    public GCVoteRating(float rating, int votes, float myVote) {
        this.rating = rating;
        this.votes = votes;
        this.myVote = myVote;
    }

    public float getRating() {
        return rating;
    }

    public int getVotes() {
        return votes;
    }

    public float getMyVote() {
        return myVote;
    }
}