com.gitee.apanlh.util.base.Empty Maven / Gradle / Ivy
package com.gitee.apanlh.util.base;
import com.gitee.apanlh.util.cache.local.Cache;
import com.gitee.apanlh.util.cache.local.CacheUtils;
import java.lang.reflect.Array;
import java.util.Collections;
import java.util.List;
import java.util.Map;
import java.util.NavigableMap;
import java.util.NavigableSet;
import java.util.Set;
import java.util.SortedMap;
import java.util.SortedSet;
/**
* 用于返回空属性
*
* @author Pan
*/
public class Empty {
/** String */
private static final String STRING_EMPTY = "";
private static final String STRING_NULL = "null";
/** Array */
private static final String[] ARRAY_STRING = new String [0];
private static final byte[] ARRAY_BYTE = new byte [0];
private static final short[] ARRAY_SHORT = new short [0];
private static final int[] ARRAY_INT = new int [0];
private static final long[] ARRAY_LONG = new long [0];
private static final float[] ARRAY_FLOAT = new float [0];
private static final double[] ARRAY_DOUBLE = new double [0];
private static final boolean[] ARRAY_BOOLEAN = new boolean [0];
private static final char[] ARRAY_CHAR = new char [0];
private static final Byte[] ARRAY_BYTE_WRAPPER = new Byte [0];
private static final Short[] ARRAY_SHORT_WRAPPER = new Short [0];
private static final Integer[] ARRAY_INT_WRAPPER = new Integer [0];
private static final Long[] ARRAY_LONG_WRAPPER = new Long [0];
private static final Float[] ARRAY_FLOAT_WRAPPER = new Float [0];
private static final Double[] ARRAY_DOUBLE_WRAPPER = new Double [0];
private static final Boolean[] ARRAY_BOOLEAN_WRAPPER = new Boolean [0];
private static final Character[] ARRAY_CHARACTER_WRAPPER = new Character [0];
private static final Cache, Object[]> ARRAY_CACHE = CacheUtils.cache(64);
private static final Class>[] ARRAY_CLASS = new Class [0];
/** List */
private static final List