public class BucketInfo extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<BucketInfo>
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(BucketInfo other)
Two
BucketInfo objects are compared to each other by their names. |
boolean |
equals(java.lang.Object o)
Two
BucketInfo objects are equal if their names are equal. |
java.util.Date |
getCreated()
Returns the time when the bucket was created.
|
java.lang.String |
getName()
Returns the bucket name.
|
int |
hashCode()
The hash code value of
BucketInfo is the hash code value of its name. |
public java.lang.String getName()
public java.util.Date getCreated()
Datepublic boolean equals(java.lang.Object o)
BucketInfo objects are equal if their names are equal.equals in class java.lang.Objecttrue if this object is the same as the specified object;
false otherwise.public int hashCode()
BucketInfo is the hash code value of its name.hashCode in class java.lang.Objectpublic int compareTo(BucketInfo other)
BucketInfo objects are compared to each other by their names.compareTo in interface java.lang.Comparable<BucketInfo>