19 package org.sleuthkit.autopsy.datamodel;
 
   21 import java.util.Objects;
 
   49     public <T> T accept(AutopsyItemVisitor<T> visitor) {
 
   50         return visitor.visit(
this);
 
   55         return Objects.hashCode(this.person == null ? 0 : this.person.getPersonId());
 
   66         if (getClass() != obj.getClass()) {
 
   70         long thisId = (this.getPerson() == null) ? 0 : this.getPerson().getPersonId();
 
   71         long otherId = (other.getPerson() == null) ? 0 : other.getPerson().getPersonId();
 
   72         return thisId == otherId;
 
   81         String thisPerson = this.getPerson() == null ? null : this.getPerson().getName();
 
   82         String otherPerson = o == null || o.getPerson() == null ? null : o.getPerson().getName();
 
   85         if (thisPerson == null && otherPerson == null) {
 
   87         } 
else if (thisPerson == null) {
 
   89         } 
else if (otherPerson == null) {
 
   93         return thisPerson.compareToIgnoreCase(otherPerson);
 
int compareTo(PersonGrouping o)
boolean equals(Object obj)