Package com.floragunn.fluent.collections
Class CheckTable.SingleRowCheckTable<R,C>
- java.lang.Object
-
- com.floragunn.fluent.collections.CheckTable.AbstractCheckTable<R,C>
-
- com.floragunn.fluent.collections.CheckTable.SingleRowCheckTable<R,C>
-
- All Implemented Interfaces:
CheckTable<R,C>
- Enclosing interface:
- CheckTable<R,C>
public static class CheckTable.SingleRowCheckTable<R,C> extends CheckTable.AbstractCheckTable<R,C>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.floragunn.fluent.collections.CheckTable
CheckTable.AbstractCheckTable<R,C>, CheckTable.ArrayCheckTable<R,C>, CheckTable.SingleCellCheckTable<R,C>, CheckTable.SingleColumnCheckTable<R,C>, CheckTable.SingleRowCheckTable<R,C>, CheckTable.TwoColumnCheckTable<R,C>
-
-
Field Summary
-
Fields inherited from interface com.floragunn.fluent.collections.CheckTable
EMPTY
-
-
Method Summary
-
Methods inherited from class com.floragunn.fluent.collections.CheckTable.AbstractCheckTable
checkIf, isColumnIncomplete, isEmpty, isRowIncomplete, toString, toTableString, uncheckIf, uncheckIf, with
-
-
-
-
Method Detail
-
isComplete
public boolean isComplete()
-
isBlank
public boolean isBlank()
-
isRowComplete
public boolean isRowComplete(R row)
-
isColumnComplete
public boolean isColumnComplete(C column)
-
toString
public String toString(String checkedIndicator, String uncheckedIndicator)
- Specified by:
toStringin interfaceCheckTable<R,C>- Overrides:
toStringin classCheckTable.AbstractCheckTable<R,C>
-
getCompleteRows
public ImmutableSet<R> getCompleteRows()
-
getCompleteColumns
public ImmutableSet<C> getCompleteColumns()
-
getIncompleteRows
public ImmutableSet<R> getIncompleteRows()
-
getIncompleteColumns
public ImmutableSet<C> getIncompleteColumns()
-
getRows
public ImmutableSet<R> getRows()
-
getColumns
public ImmutableSet<C> getColumns()
-
uncheckAll
public void uncheckAll()
-
uncheckRow
public void uncheckRow(R row)
-
uncheckRowIfPresent
public void uncheckRowIfPresent(R row)
-
getCheckedRows
public ImmutableSet<R> getCheckedRows(C column)
-
getCheckedColumns
public ImmutableSet<C> getCheckedColumns(R row)
-
viewRestrictedToRows
public CheckTable<R,C> viewRestrictedToRows(Predicate<R> predicate)
-
checkFrom
public void checkFrom(CheckTable<R,C> other)
- Specified by:
checkFromin interfaceCheckTable<R,C>- Overrides:
checkFromin classCheckTable.AbstractCheckTable<R,C>
-
-