title: Store IP Addresses in Java
body: <p>I want to store a list of IP Addresses in Java from pcap file (I am able to get all the packets information from pcap file and list of ipaddresses as well )and than compare these IP Addresses for port scanning detection. I couldn't figure out how to store the IP addresses in a list or in array . </p>