@Transient public String getSequence() { return getSequence(sequenceChunks); }
if ( aSequence.equals( getSequence() ) ) { return Collections.EMPTY_LIST;
@Transient public String getSequence() { return getSequence(sequenceChunks); }
if ( aSequence.equals( getSequence() ) ) { return Collections.EMPTY_LIST;
/** * Remember that hashCode and equals methods has to be develop in parallel * since : if a.equals(b) then a.hashCode() == b.hashCode() * The other way round is NOT true. * Unless it could break consistancy when storing object in a hash-based * collection such as HashMap... */ @Override public int hashCode() { int code = super.hashCode(); if ( getSequence() != null ) { code = code * 29 + getSequence().hashCode(); } if ( crc64 != null ) { code = code * 29 + crc64.hashCode(); } return code; }
/** * Remember that hashCode and equals methods has to be develop in parallel * since : if a.equals(b) then a.hoshCode() == b.hashCode() * The other way round is NOT true. * Unless it could break consistancy when storing object in a hash-based * collection such as HashMap... */ @Override public int hashCode() { int code = super.hashCode(); if ( getSequence() != null ) { code = code * 29 + getSequence().hashCode(); } if ( crc64 != null ) { code = code * 29 + crc64.hashCode(); } return code; }
/** * Remember that hashCode and equals methods has to be develop in parallel * since : if a.equals(b) then a.hashCode() == b.hashCode() * The other way round is NOT true. * Unless it could break consistancy when storing object in a hash-based * collection such as HashMap... */ @Override public int hashCode() { int code = super.hashCode(); if ( getSequence() != null ) { code = code * 29 + getSequence().hashCode(); } if ( crc64 != null ) { code = code * 29 + crc64.hashCode(); } return code; }
@Override public String toString() { return super.toString() + " [ CRC64: " + getCrc64() + " Sequence: " + getSequence() + "]"; } }
@Override public String toString() { return super.toString() + " [ CRC64: " + getCrc64() + " Sequence: " + getSequence() + "]"; } }
@Override public String toString() { return super.toString() + " [ CRC64: " + getCrc64() + " Sequence: " + getSequence() + "]"; } }
public List<SequenceChunk> setSequence( String aSequence ) { if ( aSequence.equals( getSequence() ) ) { return Collections.EMPTY_LIST;
if ( getSequence() != null ) { if ( !getSequence().equals( other.getSequence() ) ) { return false;
if ( getSequence() != null ) { if ( !getSequence().equals( other.getSequence() ) ) { return false;
if ( getSequence() != null ) { if ( !getSequence().equals( other.getSequence() ) ) { return false;