keyPressed(): when the key goes down
keyReleased(): when the key comes up
keyTyped(): when the unicode character represented by this key is sent by the keyboard to system input.
KeyPressed是键被按下,KeyReleased是键被弹起,这两个都是更底层一些的事件。
KeyTyped是指有字符被输入,比如按住shift,再按A键,如果当时Caps Lock不亮,就产生一个输入大写A的事件。
python pip install失败
Posted on
|
In
环境安装配置
1 | Retrying (Retry(total=0, connect=None, read=None, redirect=None)) after connection broken b |
L1-合并两个排序链表
Posted on
|
In
LintCode
合并两个排序链表
将两个排序链表合并为一个新的排序链表
样例
给出 1->3->8->11->15->null,2->null, 返回 1->2->3->8->11->15->null。