Back to project page runescape-highscore.
The source code is released under:
Apache License
If you think the Android project runescape-highscore listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.rsstat.models; //from w w w .j a va 2s.c o m import android.os.Parcel; import android.os.Parcelable; public class Triple implements Parcelable { private final String rank; private final String level; private final String xp; public Triple(String rank, String level, String xp){ this.rank = rank; this.level = level; this.xp = xp; } public String getLevel() { return level; } public String getXp() { return xp; } public String getRank() { return rank; } @Override public int describeContents() { return 0; } @Override public void writeToParcel(Parcel dest, int flags) { dest.writeString(this.rank); dest.writeString(this.level); dest.writeString(this.xp); } private Triple(Parcel in) { this.rank = in.readString(); this.level = in.readString(); this.xp = in.readString(); } public static final Parcelable.Creator<Triple> CREATOR = new Parcelable.Creator<Triple>() { public Triple createFromParcel(Parcel source) { return new Triple(source); } public Triple[] newArray(int size) { return new Triple[size]; } }; }