@Override
    public int getEntry(final int index) {
        return palette[index];
    }
Constructs a new instance.

@param palette palette to copy and store.
src/main/java/org/apache/commons/imaging/palette/SimplePalette.java