public final class Utils extends Object
Modifier and Type | Method and Description |
---|---|
static <T> void |
fastErase(List<T> list,
int index) |
static boolean |
intersect(int ax,
int ay,
int bx,
int by,
int cx,
int cy,
int dx,
int dy) |
static double |
norm(int dx,
int dy) |
static int |
queenWiseNorm(int dx,
int dy) |
static int |
scalarProduct(int ax,
int ay,
int bx,
int by) |
static int |
squaredNorm(int dx,
int dy) |
public static int queenWiseNorm(int dx, int dy)
public static int squaredNorm(int dx, int dy)
public static double norm(int dx, int dy)
public static int scalarProduct(int ax, int ay, int bx, int by)
public static boolean intersect(int ax, int ay, int bx, int by, int cx, int cy, int dx, int dy)
public static <T> void fastErase(List<T> list, int index)
Copyright © 2022. All rights reserved.