1 5 package chipchat; 6 7 import java.io.OutputStream ; 8 9 13 public class User { 14 17 private String username; 18 21 private Integer userid; 22 25 private OutputStream outputStream; 26 27 33 public User( 34 final String username, 35 final int userid, 36 final OutputStream outputStream) { 37 this.username = username; 38 this.userid = new Integer (userid); 39 this.outputStream = outputStream; 40 } 41 42 46 public final OutputStream getOutputStream() { 47 return outputStream; 48 } 49 50 54 public final Integer getUserid() { 55 return userid; 56 } 57 58 62 public final String getUsername() { 63 return username; 64 } 65 66 } 67 | Popular Tags |