Пример #1
0
 public boolean isStatic() {
   return IterUtil.isStatic(_iterable);
 }
Пример #2
0
 public boolean hasFixedSize() {
   return IterUtil.hasFixedSize(_iterable);
 }
Пример #3
0
 /**
  * Return {@code size}, unless the nested iterable is smaller than {@code size}; in that case,
  * returns the iterable's size.
  */
 public int size() {
   return IterUtil.sizeOf(_iterable, _size);
 }
Пример #4
0
 public int size(int bound) {
   return IterUtil.sizeOf(_iterable, _size <= bound ? _size : bound);
 }
Пример #5
0
 public boolean isEmpty() {
   return (_size == 0) || IterUtil.isEmpty(_iterable);
 }