Interface TypedCloneable<T>

  • Type Parameters:
    T - the type returned by clone().
    All Superinterfaces:
    java.lang.Cloneable
    All Known Implementing Classes:
    Message, MultiMap, Presence

    public interface TypedCloneable<T>
    extends java.lang.Cloneable
    An extended version of Cloneable, which defines a generic clone() method.
    • Method Detail

      • clone

        T clone()
        Clone this instance.
        Returns:
        a cloned version of this instance.