public class TLDInfo extends Object implements Comparable<TLDInfo>
Currently contains the TLD name and a count of subdomains.
Constructor and Description |
---|
TLDInfo(String name)
Create TLD info holder.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(TLDInfo o)
Compares this object with the specified object for order.
|
boolean |
equals(Object o) |
int |
getCount()
Number of subdomains we have registered under this TLD.
|
String |
getName()
The name of this TLD (e.g.
|
int |
hashCode() |
boolean |
isIP()
True if this TLDinfo accumulates IP address information.
|
public String getName()
public int getCount()
public boolean equals(Object o)
equals
in class Object
Object.equals(Object)
public int hashCode()
hashCode
in class Object
Object.hashCode()
public int compareTo(TLDInfo o)
compareTo
in interface Comparable<TLDInfo>
o
- the Object to be compared.Comparable.compareTo(Object o)
public boolean isIP()
Copyright © 2005–2018 The Royal Danish Library, the National Library of France and the Austrian National Library.. All rights reserved.