Class SentencePipeIterator

  • All Implemented Interfaces:
    Iterator<cc.mallet.types.Instance>

    public class SentencePipeIterator
    extends Object
    implements Iterator<cc.mallet.types.Instance>
    • Constructor Detail

      • SentencePipeIterator

        public SentencePipeIterator​(ArrayList<Sentence> sentences)
    • Method Detail

      • hasNext

        public boolean hasNext()
        Specified by:
        hasNext in interface Iterator<cc.mallet.types.Instance>
      • next

        public cc.mallet.types.Instance next()
        Specified by:
        next in interface Iterator<cc.mallet.types.Instance>
      • remove

        public void remove()
        Specified by:
        remove in interface Iterator<cc.mallet.types.Instance>