IBatteryObject function ( Object arg0 ) { return getMjBattery ( arg0 , DEFAULT_POWER_FRAMEWORK ) ; }
returns the default battery related to the object given in parameter . for performance optimization , it 's good to cache this object in the providing power framework if possible . concode_field_sep ForgeDirection side concode_elem_sep Map<String,Class<? extends BatteryObject>> mjBatteryKinds concode_elem_sep Field field concode_elem_sep BatteryKind kind concode_elem_sep MjBattery battery concode_elem_sep Class clazz concode_elem_sep String DEFAULT_POWER_FRAMEWORK concode_elem_sep Map<BatteryHolder,BatteryField> mjBatteries concode_elem_sep BatteryField invalidBatteryField concode_field_sep boolean contains concode_elem_sep void registerMJBatteryKind concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep BatteryField getMjBatteryField concode_elem_sep IBatteryObject[] getAllMjBatteries concode_elem_sep IBatteryObject[] getAllMjBatteries