MCPcopy Index your code
hub / github.com/ev3dev-lang-java/ev3dev-lang-java / getId

Method getId

src/main/java/ev3dev/sensors/EV3Key.java:156–159  ·  view source on GitHub ↗

Returns the ID of this key. @return one of the BUTTON_ constants

()

Source from the content-addressed store, hash-verified

154 * @return one of the BUTTON_* constants
155 */
156 @Override
157 public int getId() {
158 return this.keyType.getId();
159 }
160
161 /**
162 * A non-blocking check of whether this key is currently pressed.

Callers 3

testEqualsAndHashCodeMethod · 0.95
equalsMethod · 0.45
hashCodeMethod · 0.45

Calls

no outgoing calls

Tested by 1

testEqualsAndHashCodeMethod · 0.76