Package org.eolang

Interface Attr

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Interface Description
      static class  Attr.Exception
      The exception raised when something is not right inside attributes.
      static class  Attr.ReadOnlyException
      The exception raised when trying to put() an attribute, which is read-only.
      static class  Attr.StillAbstractException
      The exception raised when trying to get() an attribute, which is still abstract.
    • Method Detail

      • copy

        Attr copy​(Phi self)
        Make a copy of it.
        Parameters:
        self - The object that this attribute will belong to
        Returns:
        A copy
      • get

        Phi get()
        Take the object out.
        Returns:
        The object
      • put

        void put​(Phi phi)
        Put a new object in.
        Parameters:
        phi - The object to put