Home
last modified time | relevance | path

Searched refs:keyCount (Results 1 – 2 of 2) sorted by relevance

/libcore/ojluni/src/main/java/java/nio/channels/spi/
DAbstractSelectableChannel.java69 private int keyCount = 0; field in AbstractSelectableChannel
105 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()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DPropertyResourceBundleTest.java109 int keyCount = 0; in test_getKeys() local
112 keyCount++; in test_getKeys()
115 assertEquals("Returned the wrong number of keys", 2, keyCount); in test_getKeys()