aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/gcvote/GCVoteRating.java
blob: 1e655896983fe956b2787e3490712861b4b83727 (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(final float rating, final int votes, final 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;
    }
}