public class BasicParameterTable extends Object implements ParameterTable
ParameterTable
.Modifier and Type | Class and Description |
---|---|
static class |
BasicParameterTable.BasicBuilder
A basic implementation of
ParameterTable.Builder . |
static class |
BasicParameterTable.BasicCursor
A basic implementation of
ParameterTable.Cursor . |
ParameterTable.Builder, ParameterTable.Cursor
Constructor and Description |
---|
BasicParameterTable(List<? extends Map<String,String>> entity)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
Set<String> |
getAvailable()
Returns the all available parameter names in this set.
|
Set<String> |
getPartial()
Returns the partial parameter names in this set.
|
int |
getRowCount()
Returns the number of rows in this table.
|
List<ParameterSet> |
getRows()
Returns all rows in this table.
|
boolean |
isEmpty()
Returns whether this table is empty or not.
|
Iterator<ParameterSet> |
iterator() |
ParameterTable.Cursor |
newCursor()
Returns a new cursor for iterate each row.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public Iterator<ParameterSet> iterator()
iterator
in interface Iterable<ParameterSet>
public boolean isEmpty()
ParameterTable
isEmpty
in interface ParameterTable
true
if this table is empty, otherwise false
public int getRowCount()
ParameterTable
getRowCount
in interface ParameterTable
0
if this table is emptypublic ParameterTable.Cursor newCursor()
ParameterTable
newCursor
in interface ParameterTable
public Set<String> getAvailable()
ParameterTable
getAvailable
in interface ParameterTable
public Set<String> getPartial()
ParameterTable
getPartial
in interface ParameterTable
public List<ParameterSet> getRows()
ParameterTable
getRows
in interface ParameterTable
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.