Home Original page

SimpleGappedSymbolList.Block (biojava-legacy 1.9.5 API)

  • java.lang.Object
    • org.biojava.bio.symbol.SimpleGappedSymbolList.Block
  • All Implemented Interfaces:
    Serializable
    Enclosing class:
    SimpleGappedSymbolList

    protected static final class SimpleGappedSymbolList.Block
    extends Object
    implements Serializable

    An aligned block.

    The alignment is actualy stoored as a list of these objects. Each block is contiguous with the next in the source fields, but may be gapped in the view fields.

    Author:
    Matthew Pocock
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      int sourceEnd  
      int sourceStart  
      int viewEnd  
      int viewStart  
    • Constructor Summary

      Constructors 
      Constructor Description
      Block​(int sourceStart, int sourceEnd, int viewStart, int viewEnd)  
      Block​(SimpleGappedSymbolList.Block block)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean isSane()  
      String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • sourceStart

        public int sourceStart
      • sourceEnd

        public int sourceEnd
      • viewStart

        public int viewStart
      • viewEnd

        public int viewEnd
    • Constructor Detail

      • Block

        public Block​(SimpleGappedSymbolList.Block block)
      • Block

        public Block​(int sourceStart,
                     int sourceEnd,
                     int viewStart,
                     int viewEnd)
    • Method Detail

      • isSane

        public boolean isSane()
      • toString

        public String toString()
        Overrides:
        toString in class Object