Class LinkedFilter<T extends Filter,S extends Filter>

java.lang.Object
com.fastasyncworldedit.core.extent.filter.block.DelegateFilter<T>
com.fastasyncworldedit.core.extent.filter.LinkedFilter<T,S>
Type Parameters:
T - Parent which extends Filter
S - Child which extends Filter
All Implemented Interfaces:
Filter, IDelegateFilter

public final class LinkedFilter<T extends Filter,S extends Filter> extends DelegateFilter<T>
Filter which links two Filters together for single-filter-input operations.
  • Constructor Details

    • LinkedFilter

      public LinkedFilter(T parent, S child)
  • Method Details

    • getChild

      public S getChild()
    • applyBlock

      public void applyBlock(FilterBlock block)
      Description copied from interface: Filter
      Make changes to the block here
      - e.g., block.setId(...)
      - Note: Performance is critical here
    • newInstance

      public LinkedFilter<LinkedFilter<T,S>,Filter> newInstance(Filter other)