Interface Updatable<T>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      boolean canBeCastTo(java.lang.Object item)
      Check whether the update item can be cast to the correct type
      void update(T item)
      Update the current item
    • Method Detail

      • update

        void update(T item)
        Update the current item
        Parameters:
        item - to update with
      • canBeCastTo

        boolean canBeCastTo(java.lang.Object item)
        Check whether the update item can be cast to the correct type
        Parameters:
        item - to update from
        Returns:
        true if casting can succeed, false otherwise