⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 node.java

📁 一个数据挖掘软件ALPHAMINERR的整个过程的JAVA版源代码
💻 JAVA
📖 第 1 页 / 共 3 页
字号:
		return _objFalse;
	}

	/**
	 * Replaces the existing False object with a new object.
	 * If you pass in a null value to this method, the False object is
	 * cleared and will not be marshaled.
	 * @param obj	A new object.
	 */
	public void setFalse(False obj)
	{
		this._objFalse = obj;
		if( obj == null )
            return;

        obj._setParent(this);
		_objSimplePredicate = null;
		_objCompoundPredicate = null;
		_objSimpleSetPredicate = null;
		_objTrue = null;
	}
	/**
	 * Gets SupportVectorMachineModel object.
	 */
	public SupportVectorMachineModel getSupportVectorMachineModel()
	{
		return _objSupportVectorMachineModel;
	}

	/**
	 * Replaces the existing SupportVectorMachineModel object with a new object.
	 * If you pass in a null value to this method, the SupportVectorMachineModel object is
	 * cleared and will not be marshaled.
	 * @param obj	A new object.
	 */
	public void setSupportVectorMachineModel(SupportVectorMachineModel obj)
	{
		this._objSupportVectorMachineModel = obj;
		if( obj == null )
            return;

        obj._setParent(this);
	}
	/**
	 * Gets SparseGridModel object.
	 */
	public SparseGridModel getSparseGridModel()
	{
		return _objSparseGridModel;
	}

	/**
	 * Replaces the existing SparseGridModel object with a new object.
	 * If you pass in a null value to this method, the SparseGridModel object is
	 * cleared and will not be marshaled.
	 * @param obj	A new object.
	 */
	public void setSparseGridModel(SparseGridModel obj)
	{
		this._objSparseGridModel = obj;
		if( obj == null )
            return;

        obj._setParent(this);
	}
	/**
	 * Returns an array of ScoreDistribution objects. The length of the returned
	 * array is zero if the list of ScoreDistribution object is empty.
	 */
	public ScoreDistribution[] getScoreDistribution()
	{
		return (ScoreDistribution[])_objScoreDistribution.toArray(new ScoreDistribution[0]);
	}

	/**
	 * Replaces all existing ScoreDistribution objects with a new array of
	 * ScoreDistribution objects.
	 * @param objArray	an array of ScoreDistribution objects.
	 */
	public void setScoreDistribution(ScoreDistribution[] objArray)
	{
		if( objArray == null || objArray.length == 0 )
			this._objScoreDistribution.clear();
		else
		{
			this._objScoreDistribution = new ArrayList(Arrays.asList(objArray));
			for( int i=0; i<objArray.length; i++ )
			{
				if( objArray[i] != null )
					objArray[i]._setParent(this);
			}
		}
	}

	/**
	 * Gets the ScoreDistribution object at the specified index.
	 * @param index	index of the returned object.
	 * @throws IndexOutOfBoundsException	if index is out of range.
	 */
	public ScoreDistribution getScoreDistribution(int index)
	{
		return (ScoreDistribution)_objScoreDistribution.get(index);
	}

	/**
	 * Replaces an existing ScoreDistribution object at the specified index with
	 * a new ScoreDistribution object.
	 * @param index	index of replaced object.
	 * @throws IndexOutOfBoundsException	if index is out of range.
	 */
	public void setScoreDistribution(int index, ScoreDistribution obj)
	{
		if( obj == null )
			removeScoreDistribution(index);
		else
		{
			_objScoreDistribution.set(index, obj);
			obj._setParent(this);
		}
	}

	/**
	 * Returns the number of ScoreDistribution objects in the list.
	 */
	public int getScoreDistributionCount()
	{
		return _objScoreDistribution.size();
	}

	/**
	 * Returns <code>true</code> if there is no ScoreDistribution object in the list; otherwise,
	 * the method returns <code>false</code>.
	 */
	public boolean isNoScoreDistribution()
	{
		return _objScoreDistribution.size() == 0;
	}

	/**
	 * Returns a read-only list of ScoreDistribution objects.
	 */
	public List getScoreDistributionList()
	{
		return Collections.unmodifiableList(_objScoreDistribution);
	}

	/**
	 * Adds a new ScoreDistribution object at the end of the list.
	 * @return <code>true</code> if the new object is added to the list; otherwise,
	 * the method returns <code>false</code>.
	 */
	public boolean addScoreDistribution(ScoreDistribution obj)
	{
		if( obj==null )
			return false;

		obj._setParent(this);
		return _objScoreDistribution.add(obj);
	}

	/**
	 * Adds a list of new ScoreDistribution objects at the end of the list.
	 * @return <code>true</code> if the list was changed; otherwise, the method
	 * returns <code>false</code>.
	 */
	public boolean addScoreDistribution(Collection coScoreDistribution)
	{
		if( coScoreDistribution==null )
			return false;

		java.util.Iterator it = coScoreDistribution.iterator();
		while( it.hasNext() )
		{
			Object obj = it.next();
			if( obj != null && obj instanceof com.borland.xml.toolkit.XmlObject )
				((com.borland.xml.toolkit.XmlObject)obj)._setParent(this);
		}
		return _objScoreDistribution.addAll(coScoreDistribution);
	}

	/**
	 * Removes an existing ScoreDistribution object at the specified index.
	 * @return	The removed object.
	 */
	public ScoreDistribution removeScoreDistribution(int index)
	{
		return (ScoreDistribution)_objScoreDistribution.remove(index);
	}

	/**
	 * Removes the specified ScoreDistribution object.
	 * @return <code>true</code> if this list contains the object; otherwise,
	 * the method returns <code>false</code>.
	 */
	public boolean removeScoreDistribution(ScoreDistribution obj)
	{
		return _objScoreDistribution.remove(obj);
	}

	/**
	 * Clears all ScoreDistribution objects from the list.
	 */
	public void clearScoreDistributionList()
	{
		_objScoreDistribution.clear();
	}
	/**
	 * Returns an array of Node objects. The length of the returned
	 * array is zero if the list of Node object is empty.
	 */
	public Node[] getNode()
	{
		return (Node[])_objNode.toArray(new Node[0]);
	}

	/**
	 * Replaces all existing Node objects with a new array of
	 * Node objects.
	 * @param objArray	an array of Node objects.
	 */
	public void setNode(Node[] objArray)
	{
		if( objArray == null || objArray.length == 0 )
			this._objNode.clear();
		else
		{
			this._objNode = new ArrayList(Arrays.asList(objArray));
			for( int i=0; i<objArray.length; i++ )
			{
				if( objArray[i] != null )
					objArray[i]._setParent(this);
			}
		}
	}

	/**
	 * Gets the Node object at the specified index.
	 * @param index	index of the returned object.
	 * @throws IndexOutOfBoundsException	if index is out of range.
	 */
	public Node getNode(int index)
	{
		return (Node)_objNode.get(index);
	}

	/**
	 * Replaces an existing Node object at the specified index with
	 * a new Node object.
	 * @param index	index of replaced object.
	 * @throws IndexOutOfBoundsException	if index is out of range.
	 */
	public void setNode(int index, Node obj)
	{
		if( obj == null )
			removeNode(index);
		else
		{
			_objNode.set(index, obj);
			obj._setParent(this);
		}
	}

	/**
	 * Returns the number of Node objects in the list.
	 */
	public int getNodeCount()
	{
		return _objNode.size();
	}

	/**
	 * Returns <code>true</code> if there is no Node object in the list; otherwise,
	 * the method returns <code>false</code>.
	 */
	public boolean isNoNode()
	{
		return _objNode.size() == 0;
	}

	/**
	 * Returns a read-only list of Node objects.
	 */
	public List getNodeList()
	{
		return Collections.unmodifiableList(_objNode);
	}

	/**
	 * Adds a new Node object at the end of the list.
	 * @return <code>true</code> if the new object is added to the list; otherwise,
	 * the method returns <code>false</code>.
	 */
	public boolean addNode(Node obj)
	{
		if( obj==null )
			return false;

		obj._setParent(this);
		return _objNode.add(obj);
	}

	/**
	 * Adds a list of new Node objects at the end of the list.
	 * @return <code>true</code> if the list was changed; otherwise, the method
	 * returns <code>false</code>.
	 */
	public boolean addNode(Collection coNode)
	{
		if( coNode==null )
			return false;

		java.util.Iterator it = coNode.iterator();
		while( it.hasNext() )
		{
			Object obj = it.next();
			if( obj != null && obj instanceof com.borland.xml.toolkit.XmlObject )
				((com.borland.xml.toolkit.XmlObject)obj)._setParent(this);
		}
		return _objNode.addAll(coNode);
	}

	/**
	 * Removes an existing Node object at the specified index.
	 * @return	The removed object.
	 */
	public Node removeNode(int index)
	{
		return (Node)_objNode.remove(index);
	}

	/**
	 * Removes the specified Node object.
	 * @return <code>true</code> if this list contains the object; otherwise,
	 * the method returns <code>false</code>.
	 */
	public boolean removeNode(Node obj)
	{
		return _objNode.remove(obj);
	}

⌨️ 快捷键说明

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