List < ShardRouting > function ( ShardRoutingState ... arg0 ) { List < ShardRouting > loc0 = newArrayList ( ) ; for ( ShardRouting loc1 : this ) { for ( ShardRoutingState loc2 : arg0 ) { if ( loc1 . loc2 ( ) == loc2 ) { loc0 . add ( loc1 ) ; } } } return loc0 ; }
determine the 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 int numberOfShardsWithState 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 String toString concode_elem_sep String nodeId