Class InstrumentDescriptor

  • Direct Known Subclasses:
    AutoValue_InstrumentDescriptor

    @Immutable
    public abstract class InstrumentDescriptor
    extends java.lang.Object
    Describes an instrument that was registered to record data.

    This class is internal and is hence not for public use. Its APIs are unstable and can change at any time.

    • Field Detail

      • hashcode

        private int hashcode
    • Constructor Detail

      • InstrumentDescriptor

        InstrumentDescriptor()
    • Method Detail

      • getName

        public abstract java.lang.String getName()
      • getDescription

        public abstract java.lang.String getDescription()
      • getUnit

        public abstract java.lang.String getUnit()
      • getSourceInfo

        public final SourceInfo getSourceInfo()
        Debugging information for this instrument. Ignored from equals(Object) and Object.toString().
      • hashCode

        public final int hashCode()
        Uses case-insensitive version of getName(), ignores getAdvice() (not part of instrument identity}, ignores getSourceInfo().
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public final boolean equals​(java.lang.Object o)
        Uses case-insensitive version of getName(), ignores getAdvice() (not part of instrument identity}, ignores getSourceInfo().
        Overrides:
        equals in class java.lang.Object