Package com.floragunn.fluent.collections
Class CheckTable.ArrayCheckTable<R,C>
- java.lang.Object
-
- com.floragunn.fluent.collections.CheckTable.AbstractCheckTable<R,C>
-
- com.floragunn.fluent.collections.CheckTable.ArrayCheckTable<R,C>
-
- All Implemented Interfaces:
CheckTable<R,C>
- Enclosing interface:
- CheckTable<R,C>
public static class CheckTable.ArrayCheckTable<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, isEmpty, toString, toString, toTableString, uncheckIf, uncheckIf
-
-
-
-
Method Detail
-
uncheckAll
public void uncheckAll()
-
uncheckRow
public void uncheckRow(R row)
-
uncheckRowIfPresent
public void uncheckRowIfPresent(R row)
-
isComplete
public boolean isComplete()
-
isBlank
public boolean isBlank()
-
getCompleteRows
public ImmutableSet<R> getCompleteRows()
-
getCompleteColumns
public ImmutableSet<C> getCompleteColumns()
-
getIncompleteRows
public ImmutableSet<R> getIncompleteRows()
-
getIncompleteColumns
public ImmutableSet<C> getIncompleteColumns()
-
getNonEmptyRows
public ImmutableSet<R> getNonEmptyRows()
-
getNonEmptyColumns
public ImmutableSet<C> getNonEmptyColumns()
-
getCheckedRows
public ImmutableSet<R> getCheckedRows(C column)
-
getCheckedColumns
public ImmutableSet<C> getCheckedColumns(R row)
-
getRows
public ImmutableSet<R> getRows()
-
getColumns
public ImmutableSet<C> getColumns()
-
viewRestrictedToRows
public CheckTable<R,C> viewRestrictedToRows(Predicate<R> predicate)
-
toTableString
protected static <R,C> String toTableString(String checkedIndicator, String uncheckedIndicator, ImmutableMap<R,Integer> rows, ImmutableMap<C,Integer> columns, BiPredicate<R,C> isChecked)
-
-