Package com.iizix.geo
Class RegionLocation.Connection
- java.lang.Object
- com.iizix.geo.RegionLocation.Connection
 
- Enclosing class:
- RegionLocation
 - public static class RegionLocation.Connection extends java.lang.ObjectConnection class holding information about the connection.
- Method Summary- All Methods Instance Methods Concrete Methods - Modifier and Type - Method - Description - boolean- equals(java.lang.Object obj)Checks if two Connection objects are equal.- java.lang.String- getASN()Returns the Autonomous System Number associated with the IP, null if not defined.- java.lang.String- getISP()Returns the name of the ISP associated with the IP, null if not defined.- int- hashCode()Returns the hash code of the connection instance.- java.lang.String- toString()String representation of the language as "[code,name,nativeName]" where the null values are omitted.
 
- Method Detail- getASN- public java.lang.String getASN() Returns the Autonomous System Number associated with the IP, null if not defined.- Returns:
- The ASN.
 
 - getISP- public java.lang.String getISP() Returns the name of the ISP associated with the IP, null if not defined.- Returns:
- The ISP name.
 
 - hashCode- public int hashCode() Returns the hash code of the connection instance.- Overrides:
- hashCodein class- java.lang.Object
- Returns:
- The hash code.
 
 - equals- public boolean equals(java.lang.Object obj) Checks if two Connection objects are equal.- Overrides:
- equalsin class- java.lang.Object
- Returns:
- The equality flag.
 
 - toString- public java.lang.String toString() String representation of the language as "[code,name,nativeName]" where the null values are omitted.- Overrides:
- toStringin class- java.lang.Object
- Returns:
- The string representation.