Group

public final class Group<T extends Object> extends Filter<Map<Int, T>>

Input for a specific list of filters Includes Separator

Parameters

filters

Filters present

Constructors

Link copied to clipboard
public Filter.Group<T> Filter.Group<T extends Any>(String name, List<Filter<T>> filters, Map<Integer, T> state)

Properties

Link copied to clipboard
private final List<Filter<T>> filters
Link copied to clipboard
private final Integer id

This is a unique calling card for the specific filter / setting. If the setting type is ever changed, the ID should be changed

Link copied to clipboard
private final String name

Name of the filer

Link copied to clipboard
private Map<Integer, T> state

State(s) of the filter stuff

Functions

Link copied to clipboard
public final List<Filter<T>> getFilters()
Link copied to clipboard
public Integer getId()

This is a unique calling card for the specific filter / setting. If the setting type is ever changed, the ID should be changed

Link copied to clipboard
public String getName()

Name of the filer

Link copied to clipboard
public Map<Integer, T> getState()

State(s) of the filter stuff

Link copied to clipboard
public Unit setState(Map<Integer, T> state)

State(s) of the filter stuff