determine the number of shards with a specific state concode_field_sep DiscoveryNode node concode_elem_sep List<ShardRouting> shards concode_elem_sep String nodeId concode_field_sep void add concode_elem_sep Iterator<ShardRouting> mutableIterator concode_elem_sep String prettyPrint concode_elem_sep boolean isEmpty concode_elem_sep DiscoveryNode node concode_elem_sep Iterator<ShardRouting> iterator concode_elem_sep int numberOfOwningShards concode_elem_sep int size concode_elem_sep ShardRouting get concode_elem_sep Collection<ShardRouting> copyShards concode_elem_sep List<ShardRouting> shardsWithState concode_elem_sep List<ShardRouting> shardsWithState concode_elem_sep String toString concode_elem_sep String nodeId
int function ( ShardRoutingState ... arg0 ) { int loc0 = 0 ; for ( ShardRouting loc1 : this ) { for ( ShardRoutingState loc2 : arg0 ) { if ( loc1 . loc2 ( ) == loc2 ) { loc0 ++ ; } } } return loc0 ; }