Class AbstractMountOwner<T>

  • Type Parameters:
    T - the type of the actual owner
    All Implemented Interfaces:
    MountOwner
    Direct Known Subclasses:
    SimpleMountOwner, VirtualFileOwner

    public abstract class AbstractMountOwner<T>
    extends java.lang.Object
    implements MountOwner
    Abstract MountOwner used to wrap a real object as an owner.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private T owner  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected AbstractMountOwner​(T owner)
      Construct with an object.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object other)  
      protected T getOwner()
      Get the owner object
      int hashCode()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • owner

        private final T owner
    • Constructor Detail

      • AbstractMountOwner

        protected AbstractMountOwner​(T owner)
        Construct with an object.
        Parameters:
        owner - the actual owner
    • Method Detail

      • getOwner

        protected T getOwner()
        Get the owner object
        Returns:
        the actual owner
      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object