Class HKUnit

    • Constructor Detail

      • HKUnit

        protected HKUnit​(org.moe.natj.general.Pointer peer)
    • Method Detail

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • alloc

        public static HKUnit alloc()
      • allocWithZone

        public static java.lang.Object allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
      • atmosphereUnit

        public static java.lang.Object atmosphereUnit()
        atm
      • automaticallyNotifiesObserversForKey

        public static boolean automaticallyNotifiesObserversForKey​(java.lang.String key)
      • calorieUnit

        public static java.lang.Object calorieUnit()
      • cancelPreviousPerformRequestsWithTarget

        public static void cancelPreviousPerformRequestsWithTarget​(java.lang.Object aTarget)
      • cancelPreviousPerformRequestsWithTargetSelectorObject

        public static void cancelPreviousPerformRequestsWithTargetSelectorObject​(java.lang.Object aTarget,
                                                                                 org.moe.natj.objc.SEL aSelector,
                                                                                 java.lang.Object anArgument)
      • centimeterOfWaterUnit

        public static java.lang.Object centimeterOfWaterUnit()
        cmAq
      • classFallbacksForKeyedArchiver

        public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
      • classForKeyedUnarchiver

        public static org.moe.natj.objc.Class classForKeyedUnarchiver()
      • countUnit

        public static java.lang.Object countUnit()
        count
      • cupImperialUnit

        public static java.lang.Object cupImperialUnit()
        cup_imp
      • cupUSUnit

        public static java.lang.Object cupUSUnit()
        cup_us
      • dayUnit

        public static java.lang.Object dayUnit()
        d
      • debugDescription_static

        public static java.lang.String debugDescription_static()
      • degreeCelsiusUnit

        public static java.lang.Object degreeCelsiusUnit()
        degC
      • degreeFahrenheitUnit

        public static java.lang.Object degreeFahrenheitUnit()
        degF
      • description_static

        public static java.lang.String description_static()
      • energyFormatterUnitFromUnit

        public static long energyFormatterUnitFromUnit​(HKUnit unit)
      • fluidOunceImperialUnit

        public static java.lang.Object fluidOunceImperialUnit()
        fl_oz_imp
      • fluidOunceUSUnit

        public static java.lang.Object fluidOunceUSUnit()
        fl_oz_us
      • footUnit

        public static java.lang.Object footUnit()
        ft
      • gramUnit

        public static java.lang.Object gramUnit()
        g
      • gramUnitWithMetricPrefix

        public static java.lang.Object gramUnitWithMetricPrefix​(long prefix)
        g
      • hash_static

        public static long hash_static()
      • hourUnit

        public static java.lang.Object hourUnit()
        hr
      • inchUnit

        public static java.lang.Object inchUnit()
        in
      • instanceMethodSignatureForSelector

        public static NSMethodSignature instanceMethodSignatureForSelector​(org.moe.natj.objc.SEL aSelector)
      • instancesRespondToSelector

        public static boolean instancesRespondToSelector​(org.moe.natj.objc.SEL aSelector)
      • isSubclassOfClass

        public static boolean isSubclassOfClass​(org.moe.natj.objc.Class aClass)
      • jouleUnit

        public static java.lang.Object jouleUnit()
        J
      • jouleUnitWithMetricPrefix

        public static java.lang.Object jouleUnitWithMetricPrefix​(long prefix)
        J
      • kelvinUnit

        public static java.lang.Object kelvinUnit()
        K
      • keyPathsForValuesAffectingValueForKey

        public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(java.lang.String key)
      • kilocalorieUnit

        public static java.lang.Object kilocalorieUnit()
        1 kcal = 4184.0 J
      • lengthFormatterUnitFromUnit

        public static long lengthFormatterUnitFromUnit​(HKUnit unit)
      • literUnit

        public static java.lang.Object literUnit()
        L
      • literUnitWithMetricPrefix

        public static java.lang.Object literUnitWithMetricPrefix​(long prefix)
        L
      • massFormatterUnitFromUnit

        public static long massFormatterUnitFromUnit​(HKUnit unit)
      • meterUnit

        public static java.lang.Object meterUnit()
        m
      • meterUnitWithMetricPrefix

        public static java.lang.Object meterUnitWithMetricPrefix​(long prefix)
        m
      • mileUnit

        public static java.lang.Object mileUnit()
        mi
      • millimeterOfMercuryUnit

        public static java.lang.Object millimeterOfMercuryUnit()
        mmHg
      • minuteUnit

        public static java.lang.Object minuteUnit()
        min
      • moleUnitWithMetricPrefixMolarMass

        public static java.lang.Object moleUnitWithMetricPrefixMolarMass​(long prefix,
                                                                         double gramsPerMole)
        mol
      • moleUnitWithMolarMass

        public static java.lang.Object moleUnitWithMolarMass​(double gramsPerMole)
        mol
      • new_objc

        public static java.lang.Object new_objc()
      • ounceUnit

        public static java.lang.Object ounceUnit()
        oz
      • pascalUnit

        public static java.lang.Object pascalUnit()
        Pa
      • pascalUnitWithMetricPrefix

        public static java.lang.Object pascalUnitWithMetricPrefix​(long prefix)
        Pa
      • percentUnit

        public static java.lang.Object percentUnit()
        % (0.0 - 1.0)
      • pintImperialUnit

        public static java.lang.Object pintImperialUnit()
        pt_imp
      • pintUSUnit

        public static java.lang.Object pintUSUnit()
        pt_us
      • poundUnit

        public static java.lang.Object poundUnit()
        lb
      • resolveClassMethod

        public static boolean resolveClassMethod​(org.moe.natj.objc.SEL sel)
      • resolveInstanceMethod

        public static boolean resolveInstanceMethod​(org.moe.natj.objc.SEL sel)
      • secondUnit

        public static java.lang.Object secondUnit()
        s
      • secondUnitWithMetricPrefix

        public static java.lang.Object secondUnitWithMetricPrefix​(long prefix)
        s
      • setVersion_static

        public static void setVersion_static​(long aVersion)
      • siemenUnit

        public static java.lang.Object siemenUnit()
        S
      • siemenUnitWithMetricPrefix

        public static java.lang.Object siemenUnitWithMetricPrefix​(long prefix)
        S
      • stoneUnit

        public static java.lang.Object stoneUnit()
        st
      • superclass_static

        public static org.moe.natj.objc.Class superclass_static()
      • supportsSecureCoding

        public static boolean supportsSecureCoding()
      • unitFromEnergyFormatterUnit

        public static HKUnit unitFromEnergyFormatterUnit​(long energyFormatterUnit)
      • unitFromLengthFormatterUnit

        public static HKUnit unitFromLengthFormatterUnit​(long lengthFormatterUnit)
      • unitFromMassFormatterUnit

        public static HKUnit unitFromMassFormatterUnit​(long massFormatterUnit)
        The following methods convert between HKUnit and Foundation formatter units for mass, length and energy. When converting from Foundation formatter unit to HKUnit, if there's not a match, nil will be returned. When converting from HKUnit to the Foundation formatter unit, if there's not a match, an exception will be thrown.
      • unitFromString

        public static HKUnit unitFromString​(java.lang.String string)
      • version_static

        public static long version_static()
      • yardUnit

        public static java.lang.Object yardUnit()
        yd
      • copyWithZone

        public java.lang.Object copyWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
        Specified by:
        copyWithZone in interface NSCopying
      • isNull

        public boolean isNull()
      • reciprocalUnit

        public HKUnit reciprocalUnit()
      • _supportsSecureCoding

        public boolean _supportsSecureCoding()
        Description copied from interface: NSSecureCoding
        This property must return YES on all classes that allow secure coding. Subclasses of classes that adopt NSSecureCoding and override initWithCoder: must also override this method and return YES. The Secure Coding Guide should be consulted when writing methods that decode data.
        Specified by:
        _supportsSecureCoding in interface NSSecureCoding
      • unitDividedByUnit

        public HKUnit unitDividedByUnit​(HKUnit unit)
      • unitMultipliedByUnit

        public HKUnit unitMultipliedByUnit​(HKUnit unit)
      • unitRaisedToPower

        public HKUnit unitRaisedToPower​(long power)
      • unitString

        public java.lang.String unitString()
        Returns a unique string representation for the unit that could be used with +unitFromString:
      • internationalUnit

        public static java.lang.Object internationalUnit()
        IU
      • largeCalorieUnit

        public static java.lang.Object largeCalorieUnit()
        1 Cal = 4184.0 J
      • smallCalorieUnit

        public static java.lang.Object smallCalorieUnit()
        1 cal = 4.1840 J
      • decibelAWeightedSoundPressureLevelUnit

        public static java.lang.Object decibelAWeightedSoundPressureLevelUnit()
        dBASPL
      • decibelHearingLevelUnit

        public static java.lang.Object decibelHearingLevelUnit()
        dBHL
      • hertzUnit

        public static java.lang.Object hertzUnit()
        Hz
      • hertzUnitWithMetricPrefix

        public static java.lang.Object hertzUnitWithMetricPrefix​(long prefix)
        Hz
      • inchesOfMercuryUnit

        public static java.lang.Object inchesOfMercuryUnit()
        inHg
      • voltUnit

        public static java.lang.Object voltUnit()
        V
      • voltUnitWithMetricPrefix

        public static java.lang.Object voltUnitWithMetricPrefix​(long prefix)
        V