Interface Lockable<T>


public interface Lockable<T>
  • Method Details

    • setOwner

      void setOwner(T toSet)
    • getOwner

      T getOwner()
    • addToAccessList

      void addToAccessList(T toAdd)
    • removeFromAccessList

      void removeFromAccessList(T toRemove)
    • hasAccess

      boolean hasAccess(T toCheck)
    • getAccessList

      ArrayList<T> getAccessList()