Interface Listable<L extends Listable<L>>

    • Method Detail

      • intoListAs

        default <T> LinkedList<T> intoListAs​(java.lang.Class<T> type)
        Type Parameters:
        T - is the given type.
        Parameters:
        type -
        Returns:
        a new LinkedList with the current Listable as instance of the given type.
        Throws:
        java.lang.ClassCastException - if the current ISmartObject is not of the given type.