gpt4 book ai didi

Java 语法 >>, &, ?和 :

转载 作者:搜寻专家 更新时间:2023-11-01 01:04:14 27 4
gpt4 key购买 nike

我不明白>>、&、? and : 在此程序中的意思是:

case MotionEvent.ACTION_POINTER_UP: {
// Extract the index of the pointer that left the touch sensor
final int pointerIndex = (action & MotionEvent.ACTION_POINTER_INDEX_MASK)
>> MotionEvent.ACTION_POINTER_INDEX_SHIFT;
final int pointerId = ev.getPointerId(pointerIndex);
if (pointerId == mActivePointerId) {
// This was our active pointer going up. Choose a new
// active pointer and adjust accordingly.
final int newPointerIndex = pointerIndex == 0 ? 1 : 0;
mLastTouchX = ev.getX(newPointerIndex);
mLastTouchY = ev.getY(newPointerIndex);
mActivePointerId = ev.getPointerId(newPointerIndex);
}
break;

你能帮帮我吗? Google 不会搜索非字母数字字符...

最佳答案

关于Java 语法 >>, &, ?和 :,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8636818/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com