public class Handle { private Object type; // Direct pointer to Object private int access; // 1 - Read, 2 - Write, 3 - Read/Write private String ThreadID; // Always Lowercase public Handle() { } public Handle(Object newType, int newAccess, String newID) { type = newType; access = newAccess; ThreadID = newID.toLowerCase(); } /*public void modifyHandle(Object newType, int newAccess, int newID) { type = newType; access = newAccess; ThreadID = newID.toLowerCase(); }*/ public Object getType() { return type; } public int getAccess() { return access; } public String getID() { return ThreadID; } }