MCPcopy Create free account
hub / github.com/apache/storm / isSet

Method isSet

storm-client/src/jvm/org/apache/storm/generated/Bolt.java:237–250  ·  view source on GitHub ↗

Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise

(_Fields field)

Source from the content-addressed store, hash-verified

235
236 /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
237 @Override
238 public boolean isSet(_Fields field) {
239 if (field == null) {
240 throw new java.lang.IllegalArgumentException();
241 }
242
243 switch (field) {
244 case BOLT_OBJECT:
245 return is_set_bolt_object();
246 case COMMON:
247 return is_set_common();
248 }
249 throw new java.lang.IllegalStateException();
250 }
251
252 @Override
253 public boolean equals(java.lang.Object that) {

Callers 2

getMetricsSampleMethod · 0.45
prettyPrintFieldsMethod · 0.45

Calls 2

is_set_bolt_objectMethod · 0.95
is_set_commonMethod · 0.95

Tested by

no test coverage detected