public void processPackets(Player player,List<DataPacket> packets){
  if (packets.isEmpty())   return;
  List<Byte> filter=new ArrayList<>();
  for (  DataPacket packet : packets) {
    player.handleDataPacket(packet);
  }
}

public void processPackets ( Player player , List < DataPacket > packets ) { if ( packets . isEmpty ( ) ) return ; List < Byte > filter = new ArrayList < > ( ) ; for ( DataPacket packet : packets ) { player . handleDataPacket ( packet ) ; } }
process packets obtained from batch packets required to perform additional analyses and filter unnecessary packets
