Properties segmentClients = new Properties();
segmentClients.load(new FileInputStream(pathSegmentFile));
segmentClients.containsKey(strANI); //returns false / strANI = "9202599784"
file is like this:
# 01.2012
9202599784
9202599573
9208552001
9209374107
9209374949
strANI = 9202599784
why does it return false?
UPD: The problem was that file was in Unicode, after saving in ANSI started to work
segmentClients.containsKey("9202599784");will return true because:proof, this test will pass: