私は何を理解していない>>、&、?このプログラムの意味:Java構文>>、&、?と:
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チュートリアルはあなたの友人です:http: //docs.oracle.com/javase/tutorial/java/nutsandbolts/operators.html –
ここから開始してください:http://docs.oracle.com/javase/tutorial/java/nutsandbolts/index.html –