private SelectorTuple openSelector() { Selector unwrappedSelector; unwrappedSelector = provider.openSelector(); SelectedSelectionKeySet selectedKeySet = new SelectedSelectionKeySet(); selectedKeys = selectedKeySet; return(new SelectorTuple(unwrappedSelector, new SelectedSelectionKeySetSelector(unwrappedSelector, selectedKeySet))); }
public SelectedSelectionKeySetSelector(Selector _delegate, SelectedSelectionKeySet selectionKeys) { this._delegate = _delegate; this.selectionKeys = selectionKeys; }