MCPcopy Index your code
hub / github.com/BruceEckel/OnJava8-Examples / size

Method size

collections/CollectionSequence.java:11–12  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

9extends AbstractCollection<Pet> {
10 private Pet[] pets = new PetCreator().array(8);
11 @Override
12 public int size() { return pets.length; }
13 @Override public Iterator<Pet> iterator() {
14 return new Iterator<Pet>() { // [1]
15 private int index = 0;

Callers 9

iteratorMethod · 0.45
mainMethod · 0.45
testMethod · 0.45
printBitSetMethod · 0.45
basicTestMethod · 0.45
testVisualMethod · 0.45
testMethod · 0.45
mainMethod · 0.45
printKeysMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected