MCPcopy Create free account
hub / github.com/grpc/grpc-java / hasNext

Method hasNext

api/src/main/java/io/grpc/Metadata.java:272–284  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

270 private int idx = startIdx;
271
272 @Override
273 public boolean hasNext() {
274 if (hasNext) {
275 return true;
276 }
277 for (; idx < size; idx++) {
278 if (bytesEqual(key.asciiName(), name(idx))) {
279 hasNext = true;
280 return hasNext;
281 }
282 }
283 return false;
284 }
285
286 @Override
287 public T next() {

Callers 15

nextMethod · 0.95
invalidateAllMethod · 0.45
fitToLimitMethod · 0.45
cleanupExpiredEntriesMethod · 0.45
nextMethod · 0.45
parseRecursiveMethod · 0.45
parseJsonObjectMethod · 0.45
parseJsonArrayMethod · 0.45
verifyWriteMethod · 0.45
verifyWriteWithTagsMethod · 0.45

Calls 3

bytesEqualMethod · 0.80
asciiNameMethod · 0.80
nameMethod · 0.45