com.ctc.wstx.util.DataUtil Maven / Gradle / Ivy
package com.ctc.wstx.util;
import java.lang.reflect.Array;
import java.util.*;
import org.codehaus.stax2.ri.SingletonIterator;
public final class DataUtil
{
final static char[] EMPTY_CHAR_ARRAY = new char[0];
final static Long MAX_LONG = new Long(Long.MAX_VALUE);
/**
* Due to [woodstox#10], we will need to use a work-around which (for now)
* includes a local copy of this iterator class.
*
* TODO: Once we get to Java 7 / JDK 1.7, replace with one from Collections
*
* @since 5.0.1
*/
private final static class EmptyIterator implements Iterator
© 2015 - 2025 Weber Informatics LLC | Privacy Policy