@Override
    public boolean contains(Object candidate) {
        if (candidate == null || !(candidate instanceof String))
            return false;

        return innerSet.contains(((String) candidate).toLowerCase());
    }
A simple case-insensitive linked hash map

@author Marc Savy {@literal <msavy@redhat.com>}
plugins/cors-policy/src/main/java/io/apiman/plugins/cors_policy/util/InsensitiveLinkedHashSet.java