Interface Duplicator<T>

Type Parameters:
T - The type of the object to duplicate
All Known Implementing Classes:
ButtonDuplicator, ControlDuplicator, HBoxDuplicator, ImageViewDuplicator, LabelDuplicator, LabeledDuplicator, NodeDuplicator, PaneDuplicator, ParentDuplicator, RegionDuplicator, ShapeDuplicator, TextDuplicator, VBoxDuplicator
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface Duplicator<T>
Interface for duplicating objects.
  • Method Summary

    Modifier and Type
    Method
    Description
    duplicate(T object)
    Duplicates the given object.
  • Method Details

    • duplicate

      T duplicate(T object)
      Duplicates the given object.
      Parameters:
      object - The object to duplicate
      Returns:
      The duplicated object