Class Resistor

java.lang.Object
mastermicro.topologies.components.Component
mastermicro.topologies.components.Resistor
All Implemented Interfaces:
JSONSerializable

public class Resistor extends Component
  • Field Details

  • Constructor Details

  • Method Details

    • toJSON

      public org.json.JSONObject toJSON()
      Description copied from interface: JSONSerializable
      Serialize the java Object to a JSONObject type which will be converted to JSON string with `JSONObject.toString(int indent)`.
      Returns:
      the json obejct that represent the java object.
    • getAvailableTerminals

      public Set<String> getAvailableTerminals()
      Specified by:
      getAvailableTerminals in class Component