Uses of Class
api.Pin
-
Packages that use Pin Package Description api hw4 -
-
Uses of Pin in api
Methods in api that return Pin Modifier and Type Method Description Pin[]
ExternalValue. inputs()
Pin[]
IComponent. inputs()
Returns the array of Pins representing this component's inputs.Pin[]
ExternalValue. outputs()
Pin[]
IComponent. outputs()
Returns the array of Pins representing this component's outputs.Methods in api that return types with arguments of type Pin Modifier and Type Method Description java.util.ArrayList<Pin>
Pin. getConnections()
Returns the list of Pins connected to this one.Methods in api with parameters of type Pin Modifier and Type Method Description void
Pin. connectTo(Pin destination)
Add a connection from this Pin to the given destination.static int
Util. toIntValue(Pin[] pins)
Returns the integer value of the array of pins, interpreted as a binary number whose least significant bit is at index 0 and whose most significant bit is at the end of the array.static int
Util. toIntValue(Pin[] pins, int start, int end)
Returns the integer value of the array of pins, interpreted as a binary number whose least significant bit is at index 'start' and whose most significant bit is at index 'end'.static java.lang.String
Util. toString(Pin[] pins)
Returns a string of 0's and 1's representing the given array of Pins, listed right to left. -
Uses of Pin in hw4
Methods in hw4 that return Pin Modifier and Type Method Description Pin[]
AbstractComponent. inputs()
Pin[]
AbstractComponent. outputs()
-