Class GLObjectMap<T>


  • public class GLObjectMap<T>
    extends java.lang.Object
    Copyright (c) 2022-2023 LAX1DUDE. All Rights Reserved. WITH THE EXCEPTION OF PATCH FILES, MINIFIED JAVASCRIPT, AND ALL FILES NORMALLY FOUND IN AN UNMODIFIED MINECRAFT RESOURCE PACK, YOU ARE NOT ALLOWED TO SHARE, DISTRIBUTE, OR REPURPOSE ANY FILE USED BY OR PRODUCED BY THE SOFTWARE IN THIS REPOSITORY WITHOUT PRIOR PERMISSION FROM THE PROJECT AUTHOR. NOT FOR COMMERCIAL OR MALICIOUS USE (please read the 'LICENSE' file this repo's root directory for more info)
    • Constructor Summary

      Constructors 
      Constructor Description
      GLObjectMap​(int initialSize)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      T free​(int obj)  
      T get​(int obj)  
      int register​(T obj)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • allocatedObjects

        public int allocatedObjects
    • Constructor Detail

      • GLObjectMap

        public GLObjectMap​(int initialSize)
    • Method Detail

      • register

        public int register​(T obj)
      • free

        public T free​(int obj)
      • get

        public T get​(int obj)