org.expasy.jpl.commons.collection.symbol.seq
Interface SequenceIterable<T>

All Superinterfaces:
ExtraIterable<Integer>, IndexIterable, Iterable<Integer>
All Known Implementing Classes:
AbstractSequencePositioner, MotifMatcher

public interface SequenceIterable<T>
extends IndexIterable

This interface allows the manipulation of iterator over T-sequence indices.

Version:
1.0
Author:
nikitin

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.expasy.jpl.commons.collection.IndexIterable
IndexIterable.Iterator
 
Nested classes/interfaces inherited from interface org.expasy.jpl.commons.collection.ExtraIterable
ExtraIterable.AbstractExtraIterator<T>
 
Method Summary
 int getNumberOfSites()
          get number of positions
 IndexIterable.Iterator iterator(SymbolSequence<T> sequence)
          coupling sequence with iterator
 void setSequence(SymbolSequence<T> sequence)
          sequence over which positions will be retrieved.
 
Methods inherited from interface org.expasy.jpl.commons.collection.IndexIterable
iterator
 

Method Detail

setSequence

void setSequence(SymbolSequence<T> sequence)
sequence over which positions will be retrieved.


getNumberOfSites

int getNumberOfSites()
get number of positions


iterator

IndexIterable.Iterator iterator(SymbolSequence<T> sequence)
coupling sequence with iterator



Copyright (c) 2012 Swiss Institute of Bioinformatics. All rights reserved.