public class Person extends Object implements Comparable<Person>
Person(String name)
int
compareTo(Person other)
boolean
equals(Object obj)
String
getName()
hashCode()
toString()
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public Person(String name)
public String getName()
public int hashCode()
hashCode
Object
public boolean equals(Object obj)
equals
public int compareTo(Person other)
compareTo
Comparable<Person>
public String toString()
toString
Copyright © 2008–2015. All rights reserved.