public class InstantMessengerAddress extends Object implements Comparable<InstantMessengerAddress>, com.aspose.ms.System.IEquatable<InstantMessengerAddress>, com.aspose.ms.System.Collections.Generic.IGenericEqualityComparer<InstantMessengerAddress>
Represents an instant messanger address.
Constructor and Description |
---|
InstantMessengerAddress() |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(InstantMessengerAddress obj)
Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
|
boolean |
equals(InstantMessengerAddress obj)
Determines whether the specified Object is equal to the current Object.
|
boolean |
equals(InstantMessengerAddress x,
InstantMessengerAddress y)
Determines whether the specified object instances are considered equal.
|
boolean |
equals(Object obj)
Determines whether the specified Object is equal to the current Object.
|
String |
getAddress()
Gets or sets an instant messanger address
|
InstantMessengerCategory |
getCategory()
Gets or sets an object category
|
boolean |
getPrefered()
Gets or sets a value which defines whether object is preferred.
|
int |
hashCode()
GetHashCode returns a hash function for this object.
|
int |
hashCode(InstantMessengerAddress obj)
GetHashCode returns a hash function for specified object.
|
static boolean |
op_Equality(InstantMessengerAddress a,
InstantMessengerAddress b)
Determines whether the specified objects are equal.
|
static boolean |
op_Inequality(InstantMessengerAddress a,
InstantMessengerAddress b)
Determines whether the specified objects are not equal.
|
void |
setAddress(String value)
Gets or sets an instant messanger address
|
void |
setCategory(InstantMessengerCategory value)
Gets or sets an object category
|
void |
setPrefered(boolean value)
Gets or sets a value which defines whether object is preferred.
|
String |
toString()
Returns a string that represents the current object.
|
public boolean getPrefered()
Gets or sets a value which defines whether object is preferred.
public void setPrefered(boolean value)
Gets or sets a value which defines whether object is preferred.
public InstantMessengerCategory getCategory()
Gets or sets an object category
public void setCategory(InstantMessengerCategory value)
Gets or sets an object category
public String getAddress()
Gets or sets an instant messanger address
public void setAddress(String value)
Gets or sets an instant messanger address
public String toString()
Returns a string that represents the current object.
public int hashCode()
GetHashCode returns a hash function for this object.
public int hashCode(InstantMessengerAddress obj)
GetHashCode returns a hash function for specified object.
hashCode
in interface com.aspose.ms.System.Collections.Generic.IGenericEqualityComparer<InstantMessengerAddress>
obj
- The Object for which a hash code is to be returned.public boolean equals(Object obj)
Determines whether the specified Object is equal to the current Object.
equals
in interface com.aspose.ms.System.IEquatable<InstantMessengerAddress>
equals
in class Object
obj
- The Object to compare with the current Object.public boolean equals(InstantMessengerAddress obj)
Determines whether the specified Object is equal to the current Object.
obj
- The Object to compare with the current Object.public boolean equals(InstantMessengerAddress x, InstantMessengerAddress y)
Determines whether the specified object instances are considered equal.
equals
in interface com.aspose.ms.System.Collections.Generic.IGenericEqualityComparer<InstantMessengerAddress>
x
- The first object to compare.y
- The second object to compare.public static boolean op_Equality(InstantMessengerAddress a, InstantMessengerAddress b)
Determines whether the specified objects are equal.
a
- First object to compareb
- Second object to comparepublic static boolean op_Inequality(InstantMessengerAddress a, InstantMessengerAddress b)
Determines whether the specified objects are not equal.
a
- First object to compareb
- Second object to comparepublic int compareTo(InstantMessengerAddress obj)
Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
compareTo
in interface Comparable<InstantMessengerAddress>
obj
- An object to compare with this instance, or null.Copyright (c) 2008-2018 Aspose Pty Ltd. All Rights Reserved.