class SetSerialiser implements ToBytesSerialiser<Set<? extends Object>> {

    @Override
    public Set<? extends Object> deserialiseEmpty() throws SerialisationException {
        Set set;
        if (null == getSetClass()) {
            set = new HashSet<>();
        } else {
            try {
                set = getSetClass().newInstance();
            } catch (final IllegalAccessException | IllegalArgumentException | SecurityException | InstantiationException e) {
                throw new SerialisationException("Failed to create map instance" + e.getMessage(), e);
            }
        }
        return set;
    }

    public  SetSerialiser();
    public  SetSerialiser(final ToBytesSerialiser objectSerialiser);

}