Package httl.util.iterators

Examples of httl.util.iterators.BooleanArrayIterator


    }
    return false;
  }

  public static Iterator<Boolean> toIterator(boolean[] object) {
    return new BooleanArrayIterator(object);
  }
View Full Code Here


    } else if (object instanceof byte[]) {
      return new ByteArrayIterator((byte[]) object);
    } else if (object instanceof char[]) {
      return new CharArrayIterator((char[]) object);
    } else if (object instanceof boolean[]) {
      return new BooleanArrayIterator((boolean[]) object);
    } else {
      throw new UnsupportedOperationException("Unsupported foreach type " + object.getClass().getName());
    }
  }
View Full Code Here

TOP

Related Classes of httl.util.iterators.BooleanArrayIterator

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.