Package oracle.rules.sdk2.decisiontable
Class BucketTable
java.lang.Object
- All Implemented Interfaces:
Serializable,Cloneable,Iterable<Bucket>,Collection<Bucket>,List<Bucket>
A list of Buckets in a BucketSet. There must always be at least one bucket.
You cannot remove the last bucket.
- See Also:
-
Field Summary
Fields inherited from class oracle.rules.sdk2.dictionary.DictionaryComponentTable
SORT, SORT_ASCEND, SORT_DECEND -
Method Summary
Modifier and TypeMethodDescriptionadd(int index) Create a new Bucket and add it at the given indexvoidUsed internally by subclasses.booleanUsed internally by subclasses.voidclear()remove all elements in the tableremove(int index) Remove the DictionaryComponent at the given index from the tablebooleanremove the DictionaryComponent from this tablebooleanremoveAll(Collection<?> c) remove all of the elements in the Collection from this tableintbooleanretainAll(Collection<?> c) Used internally by subclasses.Methods inherited from class oracle.rules.sdk2.datamodel.ModelComponentTable
getParentMethods inherited from class oracle.rules.sdk2.dictionary.DictionaryComponentTable
_clear, _remove, _remove, add, addAll, addAll, contains, containsAll, copyTo, copyTo, cut, filter, get, getAEReferences, getAllReferences, getByAlias, getByAlias, getByID, getByName, getExprParserReferences, getLast, getMarked, getProtoType, indexOf, initProtoType, isEmpty, isLocked, iterator, lastIndexOf, listIterator, listIterator, mark, move, move, ordering, paste, removeByAlias, removeByID, removeByName, removeProtoType, reorder, size, sort, sort, sort, subList, toArray, toArray, unMark, validate, validateMethods inherited from class oracle.rules.sdk2.dictionary.DictionaryObject
_clearID, equals, exists, getAEReferenceCount, getCombinedDataModel, getContainedIDs, getContainedIDs, getDataModel, getDictionary, getID, getIndent, getObjectPath, getObjectType, getParentByClass, getParentComponent, getParentComponentTable, getParentObject, getReferences, getRuleSet, getState, getWarnings, hashCode, isModified, setID, validateMethods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.List
equals, hashCode, replaceAll, sort, spliterator
-
Method Details
-
add
Description copied from class:DictionaryComponentTableUsed internally by subclasses.- Specified by:
addin interfaceCollection<Bucket>- Specified by:
addin interfaceList<Bucket>- Overrides:
addin classDictionaryComponentTable<Bucket>- Parameters:
b- component to be added, must be of correct type for table.
-
add
Create a new Bucket and add it at the given index- Specified by:
addin classDictionaryComponentTable<Bucket>- Returns:
- a new Bucket
-
add
Description copied from class:DictionaryComponentTableUsed internally by subclasses. -
set
Description copied from class:DictionaryComponentTableUsed internally by subclasses. -
retainAll
- Specified by:
retainAllin interfaceCollection<Bucket>- Specified by:
retainAllin interfaceList<Bucket>- Overrides:
retainAllin classDictionaryComponentTable<Bucket>
-
removeMarked
- Overrides:
removeMarkedin classDictionaryComponentTable<Bucket>- Returns:
- the number of rows removed
- Throws:
DeleteException- See Also:
-
removeAll
Description copied from class:DictionaryComponentTableremove all of the elements in the Collection from this table- Specified by:
removeAllin interfaceCollection<Bucket>- Specified by:
removeAllin interfaceList<Bucket>- Overrides:
removeAllin classDictionaryComponentTable<Bucket>
-
clear
public void clear()Description copied from class:DictionaryComponentTableremove all elements in the table- Specified by:
clearin interfaceCollection<Bucket>- Specified by:
clearin interfaceList<Bucket>- Overrides:
clearin classDictionaryComponentTable<Bucket>
-
remove
Description copied from class:DictionaryComponentTableremove the DictionaryComponent from this table- Specified by:
removein interfaceCollection<Bucket>- Specified by:
removein interfaceList<Bucket>- Overrides:
removein classDictionaryComponentTable<Bucket>
-
remove
Description copied from class:DictionaryComponentTableRemove the DictionaryComponent at the given index from the table
-