Back to project page FriendScore.
The source code is released under:
MIT License
If you think the Android project FriendScore 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.prnk.friendscore; /* w w w .jav a2s. c o m*/ public class PlayerObject { private long id; private String firstName; private String lastName; private final String defaultString = "default"; public PlayerObject(){ this.firstName = defaultString; this.lastName = defaultString; } public PlayerObject(String first, String last){ this.firstName = first; this.lastName = last; } public long GetId(){ return this.id; } public void SetId(long id){ this.id = id; } public void SetName(String first, String last){ this.firstName = first; this.lastName = last; } public String GetFirstName(){ return this.firstName; } public String GetLastName(){ return this.lastName; } }