Skip to content
Snippets Groups Projects
Commit b6dd4184 authored by gpawel's avatar gpawel
Browse files

Clean-up to add @Override annotations for Java 1.6

SVN: 25465
parent f155bd9c
No related branches found
No related tags found
No related merge requests found
......@@ -901,6 +901,7 @@ public class GenerationDetection
{
return new ISmoothFluorescenceDeviationsProvider()
{
@Override
public Double[] getSFDs(int cellId)
{
return cellSmoothFDeviationByIdAndFrame.get(cellId);
......@@ -924,17 +925,20 @@ public class GenerationDetection
{
return new IParentInformationProvider()
{
@Override
public ParentCandidate[] getParentCandidates(Cell cell)
{
// not null - initialized at startup
return parentCandidatesByChildId.get(cell.getId());
}
@Override
public int getAlternatives(Cell cell)
{
return getParentCandidates(cell).length - 1;
}
@Override
public int getParentCellId(Cell cell)
{
final ParentCandidate[] candidates = getParentCandidates(cell);
......@@ -947,6 +951,7 @@ public class GenerationDetection
}
}
@Override
public String parentInformation(Cell cell)
{
final StringBuilder sb = new StringBuilder();
......
......@@ -28,6 +28,7 @@ import ch.ethz.bsse.cisd.yeastlab.model.ParentCandidate;
public class CloseDistanceCandidateCondition implements IBetterCandidateCondition
{
@Override
public boolean isBetter(ParentCandidate candidate)
{
final double closeDistance =
......
......@@ -61,6 +61,7 @@ public class MatchingFirstFluorescencePeakCandidateCondition implements IBetterC
this.maxFrameHeightDiffExceptions = maxFrameHeightDiffExceptions;
}
@Override
public boolean isBetter(ParentCandidate candidate)
{
final int childId = candidate.getChild().getId();
......
......@@ -51,6 +51,7 @@ public class SimilarBeginningFluorescenceCandidateCondition implements IBetterCa
this.maxAvgDiff = maxAvgDiff;
}
@Override
public boolean isBetter(ParentCandidate candidate)
{
final int childId = candidate.getChild().getId();
......
......@@ -108,6 +108,7 @@ public class ParentCandidate implements Comparable<ParentCandidate>
//
// simple comparator - closer is better
@Override
public int compareTo(ParentCandidate o)
{
return this.getDistanceSq().compareTo(o.getDistanceSq());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment