DeviceJUnit4ClassRunner.MetricAnnotation

public static class DeviceJUnit4ClassRunner.MetricAnnotation
extends Object implements Annotation

java.lang.Object
   ↳ com.android.tradefed.testtype.DeviceJUnit4ClassRunner.MetricAnnotation


फ़र्ज़ी एनोटेशन, जिसका मकसद रिपोर्टर को मेट्रिक भेजना है.

खास जानकारी

फ़ील्ड

public HashMap<String, MetricMeasurement.Metric> mMetrics

सार्वजनिक कंस्ट्रक्टर

MetricAnnotation(HashMap<String, MetricMeasurement.Metric> metrics)

पब्लिक मेथड

Class<? extends Annotation> annotationType()
boolean equals(Object other)
int hashCode()

फ़ील्ड

mMetrics

public HashMap<String, MetricMeasurement.Metric> mMetrics

सार्वजनिक कंस्ट्रक्टर

MetricAnnotation

public MetricAnnotation (HashMap<String, MetricMeasurement.Metric> metrics)

पैरामीटर
metrics HashMap

पब्लिक मेथड

annotationType

public Class<? extends Annotation> annotationType ()

रिटर्न
Class<? extends Annotation>

इसके बराबर है

public boolean equals (Object other)

पैरामीटर
other Object

रिटर्न
boolean

hashCode

public int hashCode ()

रिटर्न
int