Class BytesTerm
java.lang.Object
net.okapia.osid.primordium.terms.spi.AbstractQueryTerm
net.okapia.osid.primordium.terms.spi.AbstractBytesTerm
net.okapia.osid.primordium.terms.BytesTerm
A implementation of BytesTerm.
-
Constructor Summary
ConstructorsConstructorDescriptionBytesTerm(byte[] b, boolean match, boolean partial) Creates a newBytesTerm. -
Method Summary
Methods inherited from class AbstractBytesTerm
getBytes, isPartialMethods inherited from class AbstractQueryTerm
isPositive, isWildcardModifier and TypeMethodDescriptionbooleanTests if this is a positive or negative term.booleanTests if this term is a wildcard.
-
Constructor Details
-
BytesTerm
public BytesTerm(byte[] b, boolean match, boolean partial) Creates a newBytesTerm.- Parameters:
b- the byte valuematch-trueif a positive term,falsefor a negative termpartial-trueif a partial matchfalsefor a complete match- Throws:
NullArgumentException-bisnull
-