ibranch.java

来自「一个实用工具类」· Java 代码 · 共 52 行

JAVA
52
字号
/* * Copyright (C) butor.com. All rights reserved. * * This software is published under the terms of the GNU Library General * Public License (GNU LGPL), a copy of which has been included with this * distribution in the LICENSE.txt file.  */package org.butor.web.menu;import java.util.Collection;/** * Interface the access the item. * * @author Nguyen The Hung */public interface IBranch {	/**	 * Get a child node of the current node.	 * @param name java.lang.String Name of the child node	 * @return org.butor.wak.menu.IBranch	 */	public IBranch getBranch(String name);	/**	 * Get the list of children nodes.	 * @return java.util.Collection	 */	public Collection getChildren();	/**	 * Return the whether the current node has any child node.	 * @return boolean	 */	public boolean hasChild();		/************************* Gettter Methods *************************/		/**	 * Return the name of the current node.	 * @return java.lang.String	 */	public String getName();	/**	 * Return the name of the parent node.	 * @return java.lang.String	 */	public String getParentName();}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?