Class CheckIntrinsics

java.lang.Object
org.lwjgl.system.CheckIntrinsics

public final class CheckIntrinsics extends Object
Simple index checks.

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

  • Method Details

    • checkIndex

      public static int checkIndex(int index, int length)
    • checkFromToIndex

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

      public static int checkFromIndexSize(int fromIndex, int size, int length)