public class TextIterable extends Object implements Iterable<CorpusText>, Iterator<CorpusText>
Constructor and Description |
---|
TextIterable(Collection<ResourceCollectionReaderBase.Resource> files,
String encoding) |
Modifier and Type | Method and Description |
---|---|
ResourceCollectionReaderBase.Resource |
getCurrentResource() |
boolean |
hasNext() |
Iterator<CorpusText> |
iterator() |
CorpusText |
next() |
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
forEachRemaining
public TextIterable(Collection<ResourceCollectionReaderBase.Resource> files, String encoding)
public ResourceCollectionReaderBase.Resource getCurrentResource()
public Iterator<CorpusText> iterator()
iterator
in interface Iterable<CorpusText>
public boolean hasNext()
hasNext
in interface Iterator<CorpusText>
public CorpusText next()
next
in interface Iterator<CorpusText>
public void remove()
remove
in interface Iterator<CorpusText>
Copyright © 2007–2018 Ubiquitous Knowledge Processing (UKP) Lab, Technische Universität Darmstadt. All rights reserved.