Class Copyable.Static

java.lang.Object
one.microstream.typing.Copyable.Static
Enclosing interface:
Copyable

public static final class Copyable.Static
extends Object
  • Constructor Details

  • Method Details

    • copy

      public static <T extends Copyable> T copy​(T copyable)
      Returns either null if the passed instance is null, otherwise returns the instance created by the call to Copyable.copy().
      Type Parameters:
      T - The type of the Copyable instance.
      Parameters:
      copyable - the instance whose Copyable.copy() method shall be called to create the copy.
      Returns:
      the copy created by the call to the Copyable.copy() method from the passed instance.