int getWidth();
int getHeight();
-
- default boolean hasGroups() {
+
+ default boolean hasGroups()
+ {
return false;
}
- default BitSet getGroupsFor(int column) {
- BitSet colbitset = new BitSet();
+
+ default BitSet getGroupsFor(int column)
+ {
+ BitSet colbitset = new BitSet();
colbitset.set(column);
return colbitset;
}
- default List<BitSet> getGroups() {
+ default List<BitSet> getGroups()
+ {
return Arrays.asList();
}
- default boolean hasTree() {
+ default boolean hasTree()
+ {
return false;
}
/**
* Newick representation of clustered matrix
+ *
* @return null unless hasTree is true
*/
- default String getNewick() {
+ default String getNewick()
+ {
return null;
}
- default String getTreeMethod() {
+ default String getTreeMethod()
+ {
return null;
}
- default boolean hasCutHeight() {
+ default boolean hasCutHeight()
+ {
return false;
}
- default double getCutHeight() {
+ default double getCutHeight()
+ {
return 0;
}
void setColorForGroup(BitSet bs, Color color);
- default Color getColourForGroup(BitSet bs) { return Color.white;};
+ default Color getColourForGroup(BitSet bs)
+ {
+ return Color.white;
+ };
}