Interface PsyLengthy

    • Method Detail

      • length

        int length()
        Returns a length of this object.
        Returns:
        a length.
      • isEmpty

        default boolean isEmpty()
        Returns a boolean indicating if this container is empty (has zero length).
        Returns:
        true, if this container is empty, and false otherwise.
      • psyLength

        default PsyInteger psyLength()
        Returns a Ψ-integer representing the length of this object.
        Returns:
        a Ψ-integer length.
      • psyIsEmpty

        default PsyBoolean psyIsEmpty()
        Returns a Ψ-boolean indicating if this container is empty (has zero length).
        Returns:
        a Ψ-boolean result.