public class ListTerm extends ArrayList<Term> implements TermConvertable
modCount
Constructor and Description |
---|
ListTerm() |
ListTerm(Collection<? extends Term> terms) |
ListTerm(int initialCapacity) |
Modifier and Type | Method and Description |
---|---|
Term |
asTerm() |
static ListTerm |
create(List<? extends Term> terms) |
static ListTerm |
create(Term... terms) |
boolean |
equals(Object obj) |
static ListTerm |
fromTermSequence(Term termSequence) |
static ListTerm |
fromTermSequence(Term termSequence,
String sequenceSeparator) |
int |
hashCode()
Transforms this list of TermConvertables to a list of Terms
|
static Term |
listTerm(List<? extends Term> terms) |
static Term |
listTerm(Term... terms) |
void |
readEach(TermContentHandler contentHandler) |
String |
toString() |
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
containsAll
finalize, getClass, notify, notifyAll, wait, wait, wait
containsAll
parallelStream, stream
public ListTerm()
public ListTerm(Collection<? extends Term> terms)
public ListTerm(int initialCapacity)
public static ListTerm fromTermSequence(Term termSequence, String sequenceSeparator)
public Term asTerm()
asTerm
in interface TermConvertable
public int hashCode()
hashCode
in interface Collection<Term>
hashCode
in interface List<Term>
hashCode
in class AbstractList<Term>
public boolean equals(Object obj)
equals
in interface Collection<Term>
equals
in interface List<Term>
equals
in class AbstractList<Term>
public String toString()
toString
in class AbstractCollection<Term>
public void readEach(TermContentHandler contentHandler)
Copyright © 2014. All rights reserved.