@ Override public IntIterator iterator ( ) { return new IntIterator ( ) { private final org . roaringbitmap . IntIterator iterator = bitmap . getIntIterator ( ) ; @ Override public int nextInt ( ) { return iterator . next ( ) ; } @ Override public int skip ( int k ) { throw new UnsupportedOperationException ( "Views do not support skipping in the iterator" ) ; } @ Override public boolean hasNext ( ) { return iterator . hasNext ( ) ; } } ; }
Returns a fastUtil intIterator that wraps a bitmap intIterator