@Test public void testExists() { testCreateFlowClassifier(); assertThat(flowClassifierMgr.exists(flowClassifierId), is(true)); }
@Override public boolean exists(FlowClassifierId id) { checkNotNull(id, FLOW_CLASSIFIER_ID_NOT_NULL); return flowClassifierStore.containsKey(id); }
FlowClassifierManager extends AbstractListenerManager<FlowClassifierEvent, FlowClassifierListener> implements FlowClassifierService { @Override public boolean exists(FlowClassifierId id) { checkNotNull(id, FLOW_CLASSIFIER_ID_NOT_NULL); return flowClassifierStore.containsKey(id); } }
FlowClassifierManager extends AbstractListenerManager<FlowClassifierEvent, FlowClassifierListener> implements FlowClassifierService { @Override public boolean exists(FlowClassifierId id) { checkNotNull(id, FLOW_CLASSIFIER_ID_NOT_NULL); return flowClassifierStore.containsKey(id); }  }
FlowClassifierManager extends AbstractListenerManager<FlowClassifierEvent, FlowClassifierListener> implements FlowClassifierService { @Override public boolean exists(FlowClassifierId id) { checkNotNull(id, FLOW_CLASSIFIER_ID_NOT_NULL); return flowClassifierStore.containsKey(id); }  @Override boolean exists(FlowClassifierId id); @Override int getFlowClassifierCount(); @Override Iterable<FlowClassifier> getFlowClassifiers(); @Override FlowClassifier getFlowClassifier(FlowClassifierId id); @Override boolean createFlowClassifier(FlowClassifier flowClassifier); @Override boolean updateFlowClassifier(FlowClassifier flowClassifier); @Override boolean removeFlowClassifier(FlowClassifierId id); }
FlowClassifierManager extends AbstractListenerManager<FlowClassifierEvent, FlowClassifierListener> implements FlowClassifierService { @Override public boolean exists(FlowClassifierId id) { checkNotNull(id, FLOW_CLASSIFIER_ID_NOT_NULL); return flowClassifierStore.containsKey(id); }  @Override boolean exists(FlowClassifierId id); @Override int getFlowClassifierCount(); @Override Iterable<FlowClassifier> getFlowClassifiers(); @Override FlowClassifier getFlowClassifier(FlowClassifierId id); @Override boolean createFlowClassifier(FlowClassifier flowClassifier); @Override boolean updateFlowClassifier(FlowClassifier flowClassifier); @Override boolean removeFlowClassifier(FlowClassifierId id);  }