Class ModifyAwareSet<E>

java.lang.Object
io.ebeaninternal.json.ModifyAwareSet<E>
All Implemented Interfaces:
io.ebean.ModifyAwareType, Serializable, Iterable<E>, Collection<E>, Set<E>

public final class ModifyAwareSet<E> extends Object implements Set<E>, io.ebean.ModifyAwareType, Serializable
Wraps a Set for the purposes of detecting modifications.
See Also:
  • Constructor Details

    • ModifyAwareSet

      public ModifyAwareSet(Set<E> underlying)
      Create as top level with it's own ModifyAwareOwner instance wrapping the given Set.
    • ModifyAwareSet

      public ModifyAwareSet(io.ebean.ModifyAwareType owner, Set<E> underlying)
      Create with an Owner that is notified of modifications.
  • Method Details