FeatureValue
public class FeatureValue : Hashable
Undocumented
-
Name of the feature value
Declaration
Swift
public var name: String
-
Number of the occurences of feature value
Declaration
Swift
public var occurences: Int
-
initialzer for Feature Value
Declaration
Swift
public init(name: String, occurences: Int)
Parameters
name
of the feature value
occurences
num of the occurences of feature value
Return Value
FeatureValue
-
Required == func for implementing Hashable
Declaration
Swift
public static func == (lhs: FeatureValue, rhs: FeatureValue) -> Bool
Parameters
lhs
featurevalue on the left
rhs
featurevalue on the right
Return Value
true if featurevalue names is same else false
-
Empty required hash func for implementing Hashable
Declaration
Swift
public func hash(into hasher: inout Hasher)