@Override
        public boolean equals(Object obj) {
            if (obj == null) {
                return false;
            }
            if (getClass() != obj.getClass()) {
                return false;
            }
            final LocalMem other = (LocalMem) obj;
            if (this.size != other.size) {
                return false;
            }
            return true;
        }
Creates a new LocalMem instance

@param size the size of the available shared memory in bytes
jme3-core/src/main/java/com/jme3/opencl/Kernel.java