funkemunky

WatchableObject 1.8

Jun 22nd, 2019
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.76 KB | None | 0 0
  1.  public static class WatchableObject {
  2.         private final int a;
  3.         private final int b;
  4.         private Object c;
  5.         private boolean d;
  6.  
  7.         public WatchableObject(int i, int j, Object object) {
  8.             this.b = j;
  9.             this.c = object;
  10.             this.a = i;
  11.             this.d = true;
  12.         }
  13.  
  14.         public int a() {
  15.             return this.b;
  16.         }
  17.  
  18.         public void a(Object object) {
  19.             this.c = object;
  20.         }
  21.  
  22.         public Object b() {
  23.             return this.c;
  24.         }
  25.  
  26.         public int c() {
  27.             return this.a;
  28.         }
  29.  
  30.         public boolean d() {
  31.             return this.d;
  32.         }
  33.  
  34.         public void a(boolean flag) {
  35.             this.d = flag;
  36.         }
  37.     }
Add Comment
Please, Sign In to add comment