com.evolution.player.core.media
Class MediaId

java.lang.Object
  extended by 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
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MediaId

public MediaId(int hash)
Create a new media info with the given hash

Parameters:
hash - the hash value of this id
Method Detail

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