public abstract class ProcessingInstructionHelper extends Object
ProcessingInstruction
s.Modifier and Type | Method and Description |
---|---|
static long |
numberOfResults(List<ProcessingInstruction> processingInstructions)
Retrieve the desired 'number of results' as a
long from the given processingInstructions , by
searching for the ProcessingInstruction who's key equals the ProcessingKey.NR_OF_RESULTS . |
static long |
priority(List<ProcessingInstruction> processingInstructions)
Retrieve the priority as a
long from the given processingInstructions , by searching for the
ProcessingInstruction who's key equals the ProcessingKey.PRIORITY . |
public static long priority(List<ProcessingInstruction> processingInstructions)
long
from the given processingInstructions
, by searching for the
ProcessingInstruction
who's key equals the ProcessingKey.PRIORITY
.processingInstructions
- a List
of ProcessingInstruction
s to retrieve the
ProcessingKey.PRIORITY
fromlong
specifying the priority of a given operationpublic static long numberOfResults(List<ProcessingInstruction> processingInstructions)
long
from the given processingInstructions
, by
searching for the ProcessingInstruction
who's key equals the ProcessingKey.NR_OF_RESULTS
.processingInstructions
- a List
of ProcessingInstruction
s to retrieve the
ProcessingKey.NR_OF_RESULTS
fromlong
specifying the desired 'number of results' for a given operationCopyright © 2010–2019. All rights reserved.