Class ExitNodeCountry

java.lang.Object
org.eblocker.server.common.data.ExitNodeCountry

public class ExitNodeCountry extends Object
This class is used to wrap the map of TOR exit node country names -> country codes to an object than can be used to easily generate a JSON representation. So basically it has no functionality, it just stores and wraps the information.
  • Constructor Details

    • ExitNodeCountry

      public ExitNodeCountry(String name, String code)
  • Method Details

    • getName

      public String getName()
    • getCode

      public String getCode()
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object