code: private static void main(String[] args)
      {
          IPAccessHandler ipah = new IPAccessHandler();
          ipah.setStandard("deny");
          ipah.setAllowIP("217.215.71.167");
          ipah.setDenyIP("217.215.71.149");
          System.out.println(ipah.checkIP("217.215.71.245") + " = false");
          System.out.println(ipah.checkIP("217.215.71.167") + " = true");
          System.out.println(ipah.checkIP("217.215.71.149") + " = false");
          System.out.println(ipah.checkIP("0.0.0.0") + " = false");
  
          IPAccessHandler ipah2 = new IPAccessHandler();
          ipah2.setStandard("allow");
          ipah2.setAllowIP("217.215.71.167");
          ipah2.setDenyIP("217.215.71.149");
          System.out.println(ipah2.checkIP("217.215.71.245") + " = true");
          System.out.println(ipah2.checkIP("217.215.71.167") + " = true");
          System.out.println(ipah2.checkIP("217.215.71.149") + " = false");
          System.out.println(ipah2.checkIP("0.0.0.0") + " = true");
      }
docs: Main method for testing & debugging.