Searched refs:keyCount (Results 1 – 2 of 2) sorted by relevance
69 private int keyCount = 0; field in AbstractSelectableChannel105 if ((keys != null) && (keyCount < keys.length)) { in addKey()119 i = keyCount; in addKey()122 keyCount++; in addKey()141 keyCount--; in removeKey()149 if (keyCount == 0) in haveValidKeys()164 return keyCount != 0; in isRegistered()
109 int keyCount = 0; in test_getKeys() local112 keyCount++; in test_getKeys()115 assertEquals("Returned the wrong number of keys", 2, keyCount); in test_getKeys()