Use diamond operator for one particular deque
Rename getNpcIndex method
Use diamond parameter