PhoneNumber (Google App Engine API for Java)

com.google.appengine.api.datastore

Class PhoneNumber

  • java.lang.Object
    • com.google.appengine.api.datastore.PhoneNumber
  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<PhoneNumber>


    public final class PhoneNumber
    extends java.lang.Object
    implements java.io.Serializable, java.lang.Comparable<PhoneNumber>
    A human-readable phone number. No validation is performed because phone numbers have many different formats - local, long distance, domestic, international, internal extension, TTY, VOIP, SMS, and alternative networks like Skype, XFire and Roger Wilco. They all have their own numbering and addressing formats.
    See Also:
    Serialized Form
    • Constructor Detail

      • PhoneNumber

        public PhoneNumber(java.lang.String number)
    • Method Detail

      • getNumber

        public java.lang.String getNumber()
      • equals

        public boolean equals(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • compareTo

        public int compareTo(PhoneNumber o)
        Specified by:
        compareTo in interface java.lang.Comparable<PhoneNumber>

Send feedback about...