List < MutableShardRouting > function ( ShardRoutingState ... arg0 ) { List < MutableShardRouting > loc0 = newArrayList ( ) ; for ( MutableShardRouting 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<MutableShardRouting> shards concode_elem_sep String nodeId concode_field_sep void add concode_elem_sep Iterator<MutableShardRouting> 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<MutableShardRouting> iterator concode_elem_sep int numberOfOwningShards concode_elem_sep int size concode_elem_sep MutableShardRouting get concode_elem_sep Collection<MutableShardRouting> copyShards concode_elem_sep String toString concode_elem_sep String nodeId