E
- The generic type of the object to which this builder will be
applied.F
- The generic type of the object whose sort keys the delegate can
generate.public abstract class DelegateSortKeyBuilder<E,F> extends Object implements ISortKeyBuilder<E>
ISortKeyBuilder
that is useful when you need
to resolve(Object)
one type to another before applying the delegate
to generate the sort key.Constructor and Description |
---|
DelegateSortKeyBuilder(ISortKeyBuilder<F> delegate) |
Modifier and Type | Method and Description |
---|---|
byte[] |
getSortKey(E e)
Return an unsigned byte[] sort key.
|
protected abstract F |
resolve(E e)
Resolve one generic type to another.
|
public DelegateSortKeyBuilder(ISortKeyBuilder<F> delegate)
protected abstract F resolve(E e)
e
- An element.public byte[] getSortKey(E e)
ISortKeyBuilder
getSortKey
in interface ISortKeyBuilder<E>
e
- Some object (required).Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.