public abstract class BinaryLogicalFilter extends AbstractFilter
Constructor and Description |
---|
BinaryLogicalFilter() |
Modifier and Type | Method and Description |
---|---|
BinaryLogicalFilter |
append(Filter query)
Add a query to this logical operation.
|
StringBuffer |
encode(StringBuffer buff)
Encodes the filter to a StringBuffer.
|
boolean |
equals(Object obj)
Compares each filter in turn.
|
protected abstract String |
getLogicalOperator()
Implement this in subclass to return the logical operator, for example
&qout;&&qout;.
|
int |
hashCode()
Hashes all contained data.
|
encode, toString
protected List queryList
public StringBuffer encode(StringBuffer buff)
Filter
encode
in interface Filter
encode
in class AbstractFilter
buff
- The StringBuffer to encode the filter toprotected abstract String getLogicalOperator()
public boolean equals(Object obj)
equals
in interface Filter
equals
in class Object
true
if the objects are equal.Filter.equals(java.lang.Object)
public int hashCode()
hashCode
in interface Filter
hashCode
in class Object
Object.hashCode()
Filter.hashCode()
public final BinaryLogicalFilter append(Filter query)
query
- the query to add.Copyright © 2005–2016 The Spring LDAP Framework. All rights reserved.