public class PMath extends Object
| Constructor and Description |
|---|
PMath() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addFactors(byte[] backingA,
int offsetA,
int lengthA,
int maskA,
byte[] backingB,
int offsetB,
int lengthB,
int maskB,
byte[] target,
int offset,
int length,
int mask) |
static ScriptedSchedule |
buildScriptedSchedule(long[] schedulePeriods) |
static ScriptedSchedule |
buildScriptedSchedule(long[] schedulePeriods,
boolean reverseOrder) |
static void |
factors(long value,
byte[] target,
int offset,
int length,
int mask) |
static int |
factorsToInt(byte[] target,
int offset,
int length,
int mask) |
static long |
factorsToLong(byte[] target,
int offset,
int length,
int mask) |
static void |
greatestCommonFactor(byte[][] backingA,
int[] offsetA,
int[] lengthA,
int[] maskA,
byte[] target,
int offset,
int length,
int mask) |
static void |
greatestCommonFactor(byte[] backingA,
int offsetA,
int lengthA,
int maskA,
byte[] backingB,
int offsetB,
int lengthB,
int maskB,
byte[] target,
int offset,
int length,
int mask) |
static void |
removeExistingFactors(byte[] backingA,
int offsetA,
int lengthA,
int maskA,
byte[] backingB,
int offsetB,
int lengthB,
int maskB,
byte[] target,
int offset,
int length,
int mask) |
static void |
removeFactors(byte[] backingA,
int offsetA,
int lengthA,
int maskA,
byte[] backingB,
int offsetB,
int lengthB,
int maskB,
byte[] target,
int offset,
int length,
int mask) |
public static void factors(long value,
byte[] target,
int offset,
int length,
int mask)
public static void greatestCommonFactor(byte[] backingA,
int offsetA,
int lengthA,
int maskA,
byte[] backingB,
int offsetB,
int lengthB,
int maskB,
byte[] target,
int offset,
int length,
int mask)
public static void greatestCommonFactor(byte[][] backingA,
int[] offsetA,
int[] lengthA,
int[] maskA,
byte[] target,
int offset,
int length,
int mask)
public static void removeFactors(byte[] backingA,
int offsetA,
int lengthA,
int maskA,
byte[] backingB,
int offsetB,
int lengthB,
int maskB,
byte[] target,
int offset,
int length,
int mask)
public static void removeExistingFactors(byte[] backingA,
int offsetA,
int lengthA,
int maskA,
byte[] backingB,
int offsetB,
int lengthB,
int maskB,
byte[] target,
int offset,
int length,
int mask)
public static void addFactors(byte[] backingA,
int offsetA,
int lengthA,
int maskA,
byte[] backingB,
int offsetB,
int lengthB,
int maskB,
byte[] target,
int offset,
int length,
int mask)
public static int factorsToInt(byte[] target,
int offset,
int length,
int mask)
public static long factorsToLong(byte[] target,
int offset,
int length,
int mask)
public static ScriptedSchedule buildScriptedSchedule(long[] schedulePeriods)
public static ScriptedSchedule buildScriptedSchedule(long[] schedulePeriods, boolean reverseOrder)
schedulePeriods - array of periods that the item at each index is epxpected to runreverseOrder - the reversed order schedule may be desirable under heavy load conditions with directed graphs.Copyright © 2018. All Rights Reserved.