|
||||||||||
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(java.lang.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. |
java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- 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.public int hashCode()
hashCode
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |