Class ProbeRepresentative

  • Type Parameters:
    M - The type of the element to be probed, meaning this probe can be applied to all elements of a type extending M.

    public class ProbeRepresentative
    extends Object
    Represents a probe which is capable to measure a certain property for a certain type.
    • Constructor Detail

      • ProbeRepresentative

        public ProbeRepresentative​(String measuredProperty,
                                   Class<?> probedType)
      • ProbeRepresentative

        public ProbeRepresentative()
    • Method Detail

      • getProbedType

        public Class<?> getProbedType()
      • setProbedType

        public void setProbedType​(Class<?> typeUnderMeasurement)
      • getMeasuredProperty

        public String getMeasuredProperty()
      • setMeasuredProperty

        public void setMeasuredProperty​(String measuredProperty)
      • isApplicableTo

        public boolean isApplicableTo​(Class<?> type)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object