public class UniqueColumnList extends ArrayList<Column>
modCount| Constructor and Description |
|---|
UniqueColumnList()
Constructs an empty UniqueList.
|
UniqueColumnList(UniqueColumnList list)
Copy-constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(Column column)
Adds a Column to the list, if no column with the same SQL Expression
is not already contained.
|
boolean |
containsSqlExpression(Column column)
Checks if this list already contains a column with the same
SQL expression.
|
add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSizeequals, hashCodecontainsAll, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitcontainsAll, equals, hashCodeparallelStream, streampublic UniqueColumnList()
public UniqueColumnList(UniqueColumnList list)
list - the uniqueList to copypublic boolean add(Column column)
add in interface Collection<Column>add in interface List<Column>add in class ArrayList<Column>column - the Column to add, not null.NullPointerException - if column is null.public boolean containsSqlExpression(Column column)
column - the column to check, not null.Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.