Code example for Date

Methods: hashCode

0
    } 
 
    @Override 
    public int hashCode() { 
        int result = id;
        result = 31 * result + (time != null ? time.hashCode() : 0);
        return result;
    } 
}