class AttributeContainsFilter<K extends Element> extends AbstractAttributeFilter<K> {

        private Object match;

        public AttributeContainsFilter(Column column) {
            super(NbBundle.getMessage(AttributeEqualBuilder.class, "AttributeContainsBuilder.name"),
                column);

            addProperty(Object.class, "match");
        }

        @Override
        public boolean init(Graph graph) {<FILL_FUNCTION_BODY>}

        @Override
        public boolean evaluate(Graph graph, Element element) {
            if (match != null) {
                Object array = element.getAttribute(column);
                if (array != null) {
                    int length = Array.getLength(array);
                    Class componentType = array.getClass().getComponentType();
                    Class matchType = match.getClass();
                    boolean sameType = componentType.equals(matchType);
                    for (int i = 0; i < length; i++) {
                        Object val = Array.get(array, i);
                        if (sameType) {
                            if (val.equals(match)) {
                                return true;
                            }
                        } else {
                            if (val.equals(AttributeUtils.parse(match.toString(), componentType))) {
                                return true;
                            }
                        }
                    }
                }
            }
            return false;
        }

        @Override
        public void finish() {
        }

        public void setMatch(Object match) {
            this.match = match;
        }

        public Object getMatch() {
            return match;
        }

        public static class Node extends AttributeContainsFilter<org.gephi.graph.api.Node> implements NodeFilter {

            public Node(Column column) {
                super(column);
            }
        }

        public static class Edge extends AttributeContainsFilter<org.gephi.graph.api.Edge> implements EdgeFilter {

            public Edge(Column column) {
                super(column);
            }
        }
    }

            if (AttributeUtils.isNodeColumn(column)) {
                return graph.getNodeCount() != 0;
            } else if (AttributeUtils.isEdgeColumn(column)) {
                return graph.getEdgeCount() != 0;
            }
            return true;
        
<no_super_class>