public final class TypeUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
NULL_HASH_CODE |
| Modifier and Type | Method and Description |
|---|---|
static void |
checkElementNotNull(boolean isNull,
String errorMsg) |
static int |
expectedValueSize(Type type,
int defaultSize) |
static Block |
getHashBlock(List<? extends Type> hashTypes,
Block... hashBlocks) |
static Page |
getHashPage(Page page,
List<? extends Type> types,
List<Integer> hashChannels) |
static long |
getHashPosition(List<? extends Type> hashTypes,
Block[] hashBlocks,
int position) |
static long |
hashPosition(MethodHandle methodHandle,
Type type,
Block block,
int position) |
static long |
hashPosition(Type type,
Block block,
int position) |
static boolean |
positionEqualsPosition(Type type,
Block leftBlock,
int leftPosition,
Block rightBlock,
int rightPosition) |
static Type |
resolveType(TypeSignature typeName,
TypeManager typeManager) |
static List<Type> |
resolveTypes(List<TypeSignature> typeNames,
TypeManager typeManager) |
public static final int NULL_HASH_CODE
public static int expectedValueSize(Type type, int defaultSize)
public static long hashPosition(MethodHandle methodHandle, Type type, Block block, int position)
public static boolean positionEqualsPosition(Type type, Block leftBlock, int leftPosition, Block rightBlock, int rightPosition)
public static Type resolveType(TypeSignature typeName, TypeManager typeManager)
public static List<Type> resolveTypes(List<TypeSignature> typeNames, TypeManager typeManager)
public static long getHashPosition(List<? extends Type> hashTypes, Block[] hashBlocks, int position)
public static Page getHashPage(Page page, List<? extends Type> types, List<Integer> hashChannels)
public static void checkElementNotNull(boolean isNull,
String errorMsg)
Copyright © 2012–2019. All rights reserved.