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

📄 compoundpredicate.java

📁 一个数据挖掘软件ALPHAMINERR的整个过程的JAVA版源代码
💻 JAVA
📖 第 1 页 / 共 3 页
字号:
	 * Removes an existing CompoundPredicate object at the specified index.
	 * @return	The removed object.
	 */
	public CompoundPredicate removeCompoundPredicate1(int index)
	{
		return (CompoundPredicate)_objCompoundPredicate1.remove(index);
	}

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

	/**
	 * Clears all CompoundPredicate objects from the list.
	 */
	public void clearCompoundPredicateList1()
	{
		_objCompoundPredicate1.clear();
	}
	/**
	 * Returns an array of SimpleSetPredicate objects. The length of the returned
	 * array is zero if the list of SimpleSetPredicate object is empty.
	 */
	public SimpleSetPredicate[] getSimpleSetPredicate1()
	{
		return (SimpleSetPredicate[])_objSimpleSetPredicate1.toArray(new SimpleSetPredicate[0]);
	}

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

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

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

	/**
	 * Returns the number of SimpleSetPredicate objects in the list.
	 */
	public int getSimpleSetPredicateCount1()
	{
		return _objSimpleSetPredicate1.size();
	}

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

	/**
	 * Returns a read-only list of SimpleSetPredicate objects.
	 */
	public List getSimpleSetPredicateList1()
	{
		return Collections.unmodifiableList(_objSimpleSetPredicate1);
	}

	/**
	 * Adds a new SimpleSetPredicate 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 addSimpleSetPredicate1(SimpleSetPredicate obj)
	{
		if( obj==null )
			return false;

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

	/**
	 * Adds a list of new SimpleSetPredicate 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 addSimpleSetPredicate1(Collection coSimpleSetPredicate)
	{
		if( coSimpleSetPredicate==null )
			return false;

		java.util.Iterator it = coSimpleSetPredicate.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 _objSimpleSetPredicate1.addAll(coSimpleSetPredicate);
	}

	/**
	 * Removes an existing SimpleSetPredicate object at the specified index.
	 * @return	The removed object.
	 */
	public SimpleSetPredicate removeSimpleSetPredicate1(int index)
	{
		return (SimpleSetPredicate)_objSimpleSetPredicate1.remove(index);
	}

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

	/**
	 * Clears all SimpleSetPredicate objects from the list.
	 */
	public void clearSimpleSetPredicateList1()
	{
		_objSimpleSetPredicate1.clear();
	}
	/**
	 * Returns an array of True objects. The length of the returned
	 * array is zero if the list of True object is empty.
	 */
	public True[] getTrue1()
	{
		return (True[])_objTrue1.toArray(new True[0]);
	}

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

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

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

	/**
	 * Returns the number of True objects in the list.
	 */
	public int getTrueCount1()
	{
		return _objTrue1.size();
	}

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

	/**
	 * Returns a read-only list of True objects.
	 */
	public List getTrueList1()
	{
		return Collections.unmodifiableList(_objTrue1);
	}

	/**
	 * Adds a new True 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 addTrue1(True obj)
	{
		if( obj==null )
			return false;

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

	/**
	 * Adds a list of new True 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 addTrue1(Collection coTrue)
	{
		if( coTrue==null )
			return false;

		java.util.Iterator it = coTrue.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 _objTrue1.addAll(coTrue);
	}

	/**
	 * Removes an existing True object at the specified index.
	 * @return	The removed object.
	 */
	public True removeTrue1(int index)
	{
		return (True)_objTrue1.remove(index);
	}

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

	/**
	 * Clears all True objects from the list.
	 */
	public void clearTrueList1()
	{
		_objTrue1.clear();
	}
	/**
	 * Returns an array of False objects. The length of the returned
	 * array is zero if the list of False object is empty.
	 */
	public False[] getFalse1()
	{
		return (False[])_objFalse1.toArray(new False[0]);
	}

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

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

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

	/**
	 * Returns the number of False objects in the list.
	 */
	public int getFalseCount1()
	{
		return _objFalse1.size();
	}

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

	/**
	 * Returns a read-only list of False objects.
	 */
	public List getFalseList1()
	{
		return Collections.unmodifiableList(_objFalse1);
	}

	/**
	 * Adds a new False 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 addFalse1(False obj)
	{
		if( obj==null )
			return false;

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

	/**
	 * Adds a list of new False 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 addFalse1(Collection coFalse)
	{
		if( coFalse==null )
			return false;

		java.util.Iterator it = coFalse.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 _objFalse1.addAll(coFalse);
	}

	/**
	 * Removes an existing False object at the specified index.
	 * @return	The removed object.
	 */
	public False removeFalse1(int index)
	{
		return (False)_objFalse1.remove(index);
	}

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

	/**
	 * Clears all False objects from the list.
	 */
	public void clearFalseList1()
	{
		_objFalse1.clear();
	}

	/**
	 * Marshals this object to an element.
	 */
	public com.borland.xml.toolkit.Element marshal()
	{
		com.borland.xml.toolkit.Element elem = new com.borland.xml.toolkit.Element(get_TagName());
		/** Marshals "booleanOperator" attribute */
		elem.addAttribute(booleanOperator.marshal());
		/** Marshals a SimplePredicate object to an element */

⌨️ 快捷键说明

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