public class InformationEntry extends Object implements Comparable
| Constructor and Description |
|---|
InformationEntry() |
InformationEntry(String name,
String information,
long date) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Object o)
Compare this entry to another one.
|
boolean |
equals(Object obj)
Test if equal to another object.
|
long |
getDate()
Get the date.
|
String |
getInformation()
Get the information.
|
String |
getName()
Get the name.
|
int |
hashCode()
Get the hashcode.
|
void |
setDate(long date)
Set the date.
|
void |
setInformation(String information)
Set the information.
|
void |
setName(String name)
Set the name.
|
public String getName()
public void setName(String name)
name - The name to set.public String getInformation()
public void setInformation(String information)
information - The information to set.public long getDate()
public void setDate(long date)
date - The date to set.public boolean equals(Object obj)
public int compareTo(Object o)
compareTo in interface ComparableCopyright © 2012. All Rights Reserved.