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
nameof the feature value
occurencesnum of the occurences of feature value
Return Value
FeatureValue
-
Required == func for implementing Hashable
Declaration
Swift
public static func == (lhs: FeatureValue, rhs: FeatureValue) -> BoolParameters
lhsfeaturevalue on the left
rhsfeaturevalue 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)
FeatureValue Class Reference