/* * Copyright 2015 McDowell * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package uk.kludje.experimental.array; /** * A source of zero-length arrays. */ public final class EmptyArrays { public static final boolean[] EMPTY_BOOLEAN_ARRAY = {}; public static final char[] EMPTY_CHAR_ARRAY = {}; public static final byte[] EMPTY_BYTE_ARRAY = {}; public static final short[] EMPTY_SHORT_ARRAY = {}; public static final int[] EMPTY_INT_ARRAY = {}; public static final long[] EMPTY_LONG_ARRAY = {}; public static final float[] EMPTY_FLOAT_ARRAY = {}; public static final double[] EMPTY_DOUBLE_ARRAY = {}; public static final Boolean[] EMPTY_BOOLEAN_WRAPPER_ARRAY = {}; public static final Character[] EMPTY_CHARACTER_WRAPPER_ARRAY = {}; public static final Byte[] EMPTY_BYTE_WRAPPER_ARRAY = {}; public static final Short[] EMPTY_SHORT_WRAPPER_ARRAY = {}; public static final Integer[] EMPTY_INTEGER_WRAPPER_ARRAY = {}; public static final Long[] EMPTY_LONG_WRAPPER_ARRAY = {}; public static final Float[] EMPTY_FLOAT_WRAPPER_ARRAY = {}; public static final Double[] EMPTY_DOUBLE_WRAPPER_ARRAY = {}; public static final Object[] EMPTY_OBJECT_ARRAY = {}; public static final String[] EMPTY_STRING_ARRAY = {}; private EmptyArrays() {} }