class Pair { final T first; final E second; Pair(this.first, this.second); }