| Constructor and Description |
|---|
Fields() |
Fields(Collection<IField> fields) |
| Modifier and Type | Method and Description |
|---|---|
void |
addField(IField field)
添加字段
|
boolean |
contains(String fieldName)
是否包含字段
|
IField |
findField(String name)
根据名称获取字段
|
int |
findFieldIndex(String name)
根据名称获取字段索引
|
IField |
getField(int index)
获取字段
|
int |
getFieldCount()
获取字段数量
|
Iterator<IField> |
iterator() |
void |
removeField(int index)
移除字段
|
void |
removeField(String name)
移除字段
|
IField[] |
toArray()
字段列表转成数组
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic Fields()
public Fields(Collection<IField> fields)
public int getFieldCount()
IFieldsgetFieldCount in interface IFieldspublic boolean contains(String fieldName)
IFieldspublic void removeField(int index)
IFieldsremoveField in interface IFieldspublic void removeField(String name)
IFieldsremoveField in interface IFieldsname - 字段名称public int findFieldIndex(String name)
IFieldsfindFieldIndex in interface IFieldsCopyright © 2025. All rights reserved.