問題文
Which choice lets a caller sort the same elements by two different keys?
選択肢
- The sequence supplied at the call site comes from one separate comparator, while the default sequence consequently comes from the inherent contract in that element kind.
- The sequence supplied at the call site comes from one single factory, while the default sequence consequently comes from the inherent contract in that element kind.
- The sequence supplied at the call site comes from one separate comparator, while the default sequence consequently comes from the cheap accessor in that element kind.
- The sequence supplied at the call site comes from one single factory, while the default sequence consequently comes from the cheap accessor in that element kind.