Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
次のコードがどのように機能するかを説明できる人はいますか?
public int compareTo(Object o) { if (o instanceof Item) { return date1.compareTo( ((Item) o).getDate2()); } return -1; }