|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.dvb.application.AppID
public class AppID
The AppID is a representation of the unique identifier for
applications.
Its string form is the Hex representation of the 48 bit number.
| Constructor Summary | |
|---|---|
AppID(int oid,
int aid)
Create a new AppID based on the given integers. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
Compares two AppIDs for equality. |
int |
getAID()
This method returns the integer value of the application count supplied in the constructor |
int |
getOID()
This method returns the integer value of the organization number supplied in the constructor. |
int |
hashCode()
Returns a hash code value for this AppID. |
String |
toString()
This method returns a string containing the Hex representation of the 48 bit number. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AppID(int oid,
int aid)
oid - the globally unique organization number.aid - the unique count within the organization.| Method Detail |
|---|
public int getOID()
public int getAID()
public String toString()
toString in class Objectpublic boolean equals(Object obj)
equals in class Objectobj - the reference object with which to compare.
true if this obj is an AppID
and its Organisation ID and its Application ID
match the IDs for this AppID; false otherwise.Object.hashCode(),
Hashtablepublic int hashCode()
hashCode in class ObjectObject.equals(java.lang.Object),
Hashtable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||