1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package org.jboss.netty.util.internal;
18
19 import java.nio.ByteBuffer;
20 import java.security.cert.X509Certificate;
21
22 public final class EmptyArrays {
23
24 public static final byte[] EMPTY_BYTES = new byte[0];
25 public static final boolean[] EMPTY_BOOLEANS = new boolean[0];
26 public static final double[] EMPTY_DOUBLES = new double[0];
27 public static final float[] EMPTY_FLOATS = new float[0];
28 public static final int[] EMPTY_INTS = new int[0];
29 public static final short[] EMPTY_SHORTS = new short[0];
30 public static final long[] EMPTY_LONGS = new long[0];
31 public static final Object[] EMPTY_OBJECTS = new Object[0];
32 public static final String[] EMPTY_STRINGS = new String[0];
33 public static final StackTraceElement[] EMPTY_STACK_TRACE = new StackTraceElement[0];
34 public static final ByteBuffer[] EMPTY_BYTE_BUFFERS = new ByteBuffer[0];
35 public static final X509Certificate[] EMPTY_X509_CERTIFICATES = new X509Certificate[0];
36
37 private EmptyArrays() { }
38 }