Class Proxy<A>

Type Parameters:
A - the target type
All Implemented Interfaces:
Serializable, Cloneable
Direct Known Subclasses:
Lazy, Theme

public class Proxy<A> extends Unary<A,A>
Base class for patterns that contain one subpattern of the same target type. Methods have default implementations that delegate to the subpattern.

Subclasses may override methods to add behaviour.

See Also:
  • Constructor Details

    • Proxy

      protected Proxy(Pattern<? super A> body)
      Creates a new pattern.
    • Proxy

      protected Proxy()
  • Method Details