git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
JAL-1551 spotlessApply
[jalview.git]
/
src
/
jalview
/
datamodel
/
ContactMatrixI.java
diff --git
a/src/jalview/datamodel/ContactMatrixI.java
b/src/jalview/datamodel/ContactMatrixI.java
index
3510ed1
..
1d7391b
100644
(file)
--- a/
src/jalview/datamodel/ContactMatrixI.java
+++ b/
src/jalview/datamodel/ContactMatrixI.java
@@
-33,41
+33,51
@@
public interface ContactMatrixI
int getWidth();
int getHeight();
int getWidth();
int getHeight();
-
- default boolean hasGroups() {
+
+ default boolean hasGroups()
+ {
return false;
}
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;
}
colbitset.set(column);
return colbitset;
}
- default List<BitSet> getGroups() {
+ default List<BitSet> getGroups()
+ {
return Arrays.asList();
}
return Arrays.asList();
}
- default boolean hasTree() {
+ default boolean hasTree()
+ {
return false;
}
/**
* Newick representation of clustered matrix
return false;
}
/**
* Newick representation of clustered matrix
+ *
* @return null unless hasTree is true
*/
* @return null unless hasTree is true
*/
- default String getNewick() {
+ default String getNewick()
+ {
return null;
}
return null;
}
- default String getTreeMethod() {
+ default String getTreeMethod()
+ {
return null;
}
return null;
}
- default boolean hasCutHeight() {
+ default boolean hasCutHeight()
+ {
return false;
}
return false;
}
- default double getCutHeight() {
+ default double getCutHeight()
+ {
return 0;
}
return 0;
}
@@
-75,5
+85,8
@@
public interface ContactMatrixI
void setColorForGroup(BitSet bs, Color color);
void setColorForGroup(BitSet bs, Color color);
- default Color getColourForGroup(BitSet bs) { return Color.white;};
+ default Color getColourForGroup(BitSet bs)
+ {
+ return Color.white;
+ };
}
}