01: package vicazh.hyperpool.stream;
02:
03: import java.util.*;
04: import vicazh.hyperpool.*;
05:
06: /**
07: * The interface for all list selectors
08: *
09: * @author Victor Zhigunov
10: * @version 0.4.0
11: */
12: public interface ListSelectorMBean extends SelectorMBean {
13: static final String LIST = "list";
14:
15: /**
16: * Get the list values
17: */
18: List<List<Object>> getList();
19:
20: /**
21: * Set the list values
22: */
23: void setListAttribute(List<List<Object>> value) throws Exception;
24:
25: /**
26: * Return line index
27: *
28: * @param object
29: * value object
30: * @return line index
31: */
32: int getIndex(Object object);
33: }
|