CacheThreadMemory class

Пакет: com.hypixel.hytale.builtin.hytalegenerator.positionproviders.cached

Файл: com/hypixel/hytale/builtin/hytalegenerator/positionproviders/cached/CacheThreadMemory.java

Поля (1)

МодификаторыТипИмя
Long2ObjectMap<Vector3d[]> sections

Методы (2)

МодификаторыВозвратСигнатура
abstract throw new IllegalArgumentExceptionthrow new IllegalArgumentException()
if if(var1 < 0)

Исходный код

Показать/скрыть
class="kw">package com.hypixel.hytale.builtin.hytalegenerator.positionproviders.cached;

class="kw">import it.unimi.dsi.fastutil.longs.Long2ObjectMap;
class="kw">import it.unimi.dsi.fastutil.longs.Long2ObjectOpenHashMap;
class="kw">import it.unimi.dsi.fastutil.longs.LongArrayList;
class="kw">import org.joml.Vector3d;

class="kw">public class CacheThreadMemory {
   Long2ObjectMap<Vector3d[]> sections;
   LongArrayList expirationList;
   int size;

   class="kw">public CacheThreadMemory(int var1) {
      if (var1 < 0) {
         throw new IllegalArgumentException();
      }

      this.sections = new Long2ObjectOpenHashMap(var1);
      this.expirationList = new LongArrayList();
      this.size = var1;
   }
}