@Override public void loadValue(SRALazyRecord self) { self.getAlignmentStart(); } },
@Override public void loadValue(SRALazyRecord self) { self.getAlignmentStart(); } },
/** * For records equality, we should only compare read id, reference and position on the reference. * Since read id is a constructor parameter, we only need to make sure that reference info is loaded. * @param o other * @return comparison result */ @Override public boolean equals(final Object o) { if (o instanceof SRALazyRecord) { SRALazyRecord otherRecord = (SRALazyRecord)o; otherRecord.getReferenceIndex(); otherRecord.getAlignmentStart(); } getReferenceIndex(); getAlignmentStart(); return super.equals(o); }
/** * The same approach as with 'equals' method. We only load reference and position. */ @Override public int hashCode() { getReferenceIndex(); getAlignmentStart(); return super.hashCode(); }
/** * For records equality, we should only compare read id, reference and position on the reference. * Since read id is a constructor parameter, we only need to make sure that reference info is loaded. * @param o other * @return comparison result */ @Override public boolean equals(final Object o) { if (o instanceof SRALazyRecord) { SRALazyRecord otherRecord = (SRALazyRecord)o; otherRecord.getReferenceIndex(); otherRecord.getAlignmentStart(); } getReferenceIndex(); getAlignmentStart(); return super.equals(o); }
/** * The same approach as with 'equals' method. We only load reference and position. */ @Override public int hashCode() { getReferenceIndex(); getAlignmentStart(); return super.hashCode(); }