Advertisement
Guest User

Untitled

a guest
Feb 12th, 2016
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 KB | None | 0 0
  1. public int getPct(){
  2. return Integer.parseInt(precinct);
  3. }
  4. public boolean isPct(int p){
  5. return getPct() == p;
  6. }
  7. public int getDate(){
  8. return datestop;
  9. }
  10. public boolean isDate(int date){
  11. return getDate() == date;
  12. }
  13. public int getTime(){
  14. return timestop;
  15. }
  16. public boolean isTime(int time){
  17. return getTime() == time;
  18. }
  19. public int getAge(){
  20. return age;
  21. }
  22. public boolean isAge(int a){
  23. return getAge() == a;
  24. }
  25. public String getGender(){
  26. return gender;
  27. }
  28. public boolean isGender(String a){
  29. return gender.equals(a);
  30. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement