func compare(Compared, Compared) -> ComparisonResult
Provides the relative ordering of two elements.
2つの要素の相対順序付けを提供します。
Availability 有効性
Technology
struct ComparableComparator<Compared> where Compared : Comparable
The comparator uses the relevant type’s Comparable
implementation to compare instances.
コンパレータ(比較子)は、関連する型のもつComparable
実装を使ってインスタンスそれらを比較します。
func compare(Compared, Compared) -> ComparisonResult
var order: SortOrder
static func == (ComparableComparator<Compared>, ComparableComparator<Compared>) -> Bool
static func != (ComparableComparator<Compared>, ComparableComparator<Compared>) -> Bool
func hash(into: inout Hasher)
var hashValue : Int
class NSSortDescriptor
enum ComparisonResult
struct SortDescriptor
protocol SortComparator
struct KeyPathComparator
enum SortOrder