Methods Summary |
---|
public boolean | equals(java.lang.Object other)Compares this object with another, for equality.
if (other == this) return true;
if (!(other instanceof SavedByEntry)) return false;
SavedByEntry that = (SavedByEntry) other;
return that.userName.equals(userName) &&
that.saveLocation.equals(saveLocation);
|
public java.lang.String | getSaveLocation()
return saveLocation;
|
public java.lang.String | getUserName()
return userName;
|
public int | hashCode()Generates a hash code for consistency with {@link #equals(Object)}.
int hash = 29;
hash = hash * 13 + userName.hashCode();
hash = hash * 13 + saveLocation.hashCode();
return hash;
|
public java.lang.String | toString()Returns a string for display.
return "SavedByEntry[userName=" + getUserName() +
",saveLocation=" + getSaveLocation() + "]";
|