| Constructor and Description |
|---|
BasicHeader() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(String name)
Adds an entry to this header
|
void |
clear()
Removes all entries from this header
|
boolean |
contains(String name)
Returns true if this header contains the specified column header name
|
String |
get(int index)
Gets the entry at a specific index.
|
int |
getIndex(String name)
Returns the index of a specific entry.
|
Iterator<String> |
iterator()
Returns an iterator over the entries in this header
Iterator.remove() is not supported. |
int |
size()
Returns the number of entries(columns) in this header
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic int size()
Headerpublic void add(String name)
name - entry to be addedpublic String get(int index)
IllegalArgumentException if the index is out of bounds.public boolean contains(String name)
public int getIndex(String name)
IllegalArgumentException if the column header name is not foundpublic void clear()
Copyright © 2017. All rights reserved.