com.github.czyzby.websocket.serialization.ArrayProvider Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gdx-websocket-serialization Show documentation
Show all versions of gdx-websocket-serialization Show documentation
Custom cross-platform serialization without the use of reflection.
The newest version!
package com.github.czyzby.websocket.serialization;
/** Utility for deserialization, allowing to create typed arrays of generic objects without knowing the size beforehand.
*
* @author MJ
*
* @param base class of the array.
* @see com.github.czyzby.websocket.serialization.impl.ReflectionArrayProvider */
public interface ArrayProvider {
/** @param size size of the array to create.
* @return a new array of chosen type. */
Type[] getArray(int size);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy