@Test public void testGetSize() { assertEquals(2, it.getSize()); it.remove(); assertEquals(1, it.getSize()); }
@Override public long getSize() { return list.size(); }
AccessControlPolicyIteratorImpl implements AccessControlPolicyIterator { @Override public long getSize() { return list.size(); } }
AccessControlPolicyIteratorImpl implements AccessControlPolicyIterator { @Override public long getSize() { return list.size(); } AccessControlPolicyIteratorImpl(AccessControlPolicy... policy); }
AccessControlPolicyIteratorImpl implements AccessControlPolicyIterator { @Override public long getSize() { return list.size(); } AccessControlPolicyIteratorImpl(AccessControlPolicy... policy); @Override AccessControlPolicy nextAccessControlPolicy(); @Override void skip(long amount); @Override long getSize(); @Override long getPosition(); @Override boolean hasNext(); @Override Object next(); @Override void remove(); }
AccessControlPolicyIteratorImpl implements AccessControlPolicyIterator { @Override public long getSize() { return list.size(); } AccessControlPolicyIteratorImpl(AccessControlPolicy... policy); @Override AccessControlPolicy nextAccessControlPolicy(); @Override void skip(long amount); @Override long getSize(); @Override long getPosition(); @Override boolean hasNext(); @Override Object next(); @Override void remove(); final static AccessControlPolicyIteratorImpl EMPTY; }