public class RangeUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static int |
calculateEnd(int end,
int size) |
static int |
calculateStart(int start,
int size) |
static long |
calculateStart(long start,
int size) |
static long |
calculateStart(long start,
long size) |
static byte[] |
concat(byte[] first,
byte[] second) |
static double |
getRealScoreForMaxValue(String value,
Collection<SortsetDatatypeOperations.ScoredByteBuffer> elements) |
static double |
getRealScoreForMinValue(String value,
Collection<SortsetDatatypeOperations.ScoredByteBuffer> elements) |
static List<SortsetDatatypeOperations.ScoredByteBuffer> |
limitListByOffsetCount(int offset,
int count,
List<SortsetDatatypeOperations.ScoredByteBuffer> elements) |
public static byte[] concat(byte[] first,
byte[] second)
public static int calculateEnd(int end,
int size)
public static long calculateStart(long start,
int size)
public static long calculateStart(long start,
long size)
public static int calculateStart(int start,
int size)
public static List<SortsetDatatypeOperations.ScoredByteBuffer> limitListByOffsetCount(int offset, int count, List<SortsetDatatypeOperations.ScoredByteBuffer> elements)
public static double getRealScoreForMinValue(String value, Collection<SortsetDatatypeOperations.ScoredByteBuffer> elements)
public static double getRealScoreForMaxValue(String value, Collection<SortsetDatatypeOperations.ScoredByteBuffer> elements)
Copyright © 2016. All Rights Reserved.