code: public synchronized Country getCountry(long ipAddress) {
          if (file == null && (dboptions & GEOIP_MEMORY_CACHE) == 0) {
              throw new IllegalStateException("Database has been closed.");
          }
          int ret = seekCountry(ipAddress) - COUNTRY_BEGIN;
          if (ret == 0) {
              return UNKNOWN_COUNTRY;
          } else {
              return new Country(countryCode[ret], countryName[ret]);
          }
      }
docs: Returns the country the IP address is in.
  
  @param ipAddress
  the IP address in long format.
  @return the country the IP address is from.