All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cn.featherfly.common.structure.tree.matcher.TreeNodeEqualsMatcher Maven / Gradle / Ivy


package cn.featherfly.common.structure.tree.matcher;

import cn.featherfly.common.structure.tree.TreeNodeMatcher;
import cn.featherfly.common.structure.tree.TreeNodeModel;

/**
 * 

* TreeNodeIdMatcher *

* @param 树模型对象 * @author 钟冀 */ public class TreeNodeEqualsMatcher> implements TreeNodeMatcher{ private T treeNodeModel; /** * * @param treeNodeModel treeNodeModel */ public TreeNodeEqualsMatcher(T treeNodeModel) { this.treeNodeModel = treeNodeModel; } /** * {@inheritDoc} */ @Override public boolean match(T treeNodeModel) { return this.treeNodeModel.equals(treeNodeModel); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy