com.evolution.player.core.media
Class MediaId
java.lang.Object
com.evolution.player.core.media.MediaId
public class MediaId
- extends java.lang.Object
The unique id for a media info.
- Since:
- 0.1
- See Also:
MediaInfo
Constructor Summary |
MediaId(int hash)
Create a new media info with the given hash |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
MediaId
public MediaId(int hash)
- Create a new media info with the given hash
- Parameters:
hash
- the hash value of this id
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object