Example usage for org.apache.commons.lang3 ArrayUtils EMPTY_SHORT_ARRAY

List of usage examples for org.apache.commons.lang3 ArrayUtils EMPTY_SHORT_ARRAY

Introduction

In this page you can find the example usage for org.apache.commons.lang3 ArrayUtils EMPTY_SHORT_ARRAY.

Prototype

null EMPTY_SHORT_ARRAY

To view the source code for org.apache.commons.lang3 ArrayUtils EMPTY_SHORT_ARRAY.

Click Source Link

Document

An empty immutable short array.

Usage

From source file:com.github.xbn.array.helper.NewPrimitiveArrayHelper.java

public short[] getEmptyPrimitive() {
    return ArrayUtils.EMPTY_SHORT_ARRAY;
}

From source file:org.spout.api.protocol.builtin.message.ChunkDataMessage.java

public ChunkDataMessage(int x, int y, int z) {
    this.unload = true;
    this.x = x;/*from www. ja v  a2  s  . c  o m*/
    this.y = y;
    this.z = z;
    this.blockIds = ArrayUtils.EMPTY_SHORT_ARRAY;
    this.blockData = ArrayUtils.EMPTY_SHORT_ARRAY;
    this.blockLight = ArrayUtils.EMPTY_BYTE_ARRAY;
    this.skyLight = ArrayUtils.EMPTY_BYTE_ARRAY;
    this.biomeData = null;
    this.biomeManagerClass = null;
}