SingletonPrimitiveIteratorOfLong implements PrimitiveIterator.OfLong { @Override public boolean hasNext() { return hasNext; } SingletonPrimitiveIteratorOfLong(long element); @Override boolean hasNext(); @Override long nextLong(); @Override Long next(); @Override void remove(); @Override void forEachRemaining(LongConsumer action);  }
@Test void hasNext() { assertTrue(instance.hasNext()); }