Returns an integer hash code for the receiver. Any two objects for which equals returns true must return the same hash code. @return this files's hash value. @see #equals
()
| 746 | * @see #equals |
| 747 | */ |
| 748 | @Override |
| 749 | public int hashCode() { |
| 750 | if (caseSensitive) { |
| 751 | return path.hashCode() ^ 1234321; |
| 752 | } |
| 753 | return path.toLowerCase(Locale.ENGLISH).hashCode() ^ 1234321; |
| 754 | } |
| 755 | |
| 756 | /** |
| 757 | * Indicates if this file's pathname is absolute. Whether a pathname is |
nothing calls this directly
no test coverage detected