com.ctc.wstx.util.DataUtil Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of woodstox-core Show documentation
Show all versions of woodstox-core Show documentation
Woodstox is a high-performance XML processor that implements Stax (JSR-173),
SAX2 and Stax2 APIs
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 = Long.valueOf(Long.MAX_VALUE);
// Replace with Java 7 `Collections.emptyIterator()` once we can use it
private final static class EI implements Iterator