public final class IntervalUtils
extends java.lang.Object
Modifier and Type | Method | Description |
---|---|---|
static int |
binarySearch(long value,
long from,
long to,
long step) |
|
static void |
checkArguments(long from,
long to,
long stepBy) |
|
static boolean |
contains(long value,
long from,
long to,
long step) |
|
static int |
indexOf(long value,
long from,
long to,
long step) |
|
static int |
intSize(long from,
long to,
long step) |
|
static boolean |
isWithinBoundaries(long value,
long from,
long to,
long step) |
|
static long |
valueAtIndex(int index,
long from,
long to,
long step) |
public static void checkArguments(long from, long to, long stepBy)
public static int intSize(long from, long to, long step)
public static boolean contains(long value, long from, long to, long step)
public static boolean isWithinBoundaries(long value, long from, long to, long step)
public static int indexOf(long value, long from, long to, long step)
public static long valueAtIndex(int index, long from, long to, long step)
public static int binarySearch(long value, long from, long to, long step)
Copyright © 2004–2020. All rights reserved.