com.springrts.ai.oo
Class Resource

java.lang.Object
  extended by com.springrts.ai.oo.Resource
All Implemented Interfaces:
Comparable<Resource>

public class Resource
extends Object
implements Comparable<Resource>


Method Summary
 int compareTo(Resource other)
           
 boolean equals(Object otherObject)
           
 String getName()
           
 float getOptimum()
           
 int getResourceId()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

getResourceId

public int getResourceId()

compareTo

public int compareTo(Resource other)
Specified by:
compareTo in interface Comparable<Resource>

equals

public boolean equals(Object otherObject)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object

getName

public String getName()

getOptimum

public float getOptimum()