Class LazyArea

  • All Implemented Interfaces:
    IArea

    public final class LazyArea
    extends java.lang.Object
    implements IArea
    • Constructor Summary

      Constructors 
      Constructor Description
      LazyArea​(it.unimi.dsi.fastutil.longs.Long2IntLinkedOpenHashMap p_i51286_1_, int p_i51286_2_, IPixelTransformer p_i51286_3_)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int get​(int p_202678_1_, int p_202678_2_)  
      int getMaxCache()  
      • Methods inherited from class java.lang.Object

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

      • cache

        private final it.unimi.dsi.fastutil.longs.Long2IntLinkedOpenHashMap cache
      • maxCache

        private final int maxCache
    • Constructor Detail

      • LazyArea

        public LazyArea​(it.unimi.dsi.fastutil.longs.Long2IntLinkedOpenHashMap p_i51286_1_,
                        int p_i51286_2_,
                        IPixelTransformer p_i51286_3_)
    • Method Detail

      • get

        public int get​(int p_202678_1_,
                       int p_202678_2_)
        Specified by:
        get in interface IArea
      • getMaxCache

        public int getMaxCache()