Top Description Constructors Methods
org.lwjgl.system

public final Class CheckIntrinsics

extends Object
Class Inheritance

Simple index checks.

On Java 9 these checks are replaced with the corresponding java.util.Objects methods, which perform better.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static int
checkFromIndexSize(int fromIndex, int size, int length)

public static int
checkFromToIndex(int fromIndex, int toIndex, int length)

public static int
checkIndex(int index, int length)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

CheckIntrinsicsback to summary
private CheckIntrinsics()

Method Detail

checkFromIndexSizeback to summary
public static int checkFromIndexSize(int fromIndex, int size, int length)
checkFromToIndexback to summary
public static int checkFromToIndex(int fromIndex, int toIndex, int length)
checkIndexback to summary
public static int checkIndex(int index, int length)