Class LayerBase.D2<U>

java.lang.Object
org.jlayer.util.LayerCore.D2<U,U>
org.jlayer.util.LayerBase.D2<U>
All Implemented Interfaces:
BasedLayer.D2<U>, Layer.D2<U,U>
Direct Known Subclasses:
VectorLayerBase.D2
Enclosing class:
LayerBase<U>

public static class LayerBase.D2<U> extends LayerCore.D2<U,U> implements BasedLayer.D2<U>
  • Field Details

    • arrayD2

      private U[][] arrayD2
  • Constructor Details

  • Method Details

    • getBase

      public U[][] getBase()
      Specified by:
      getBase in interface BasedLayer.D2<U>
    • length

      public int length()
      Specified by:
      length in interface Layer.D2<U,U>
    • length

      public int length(int x1)
      Specified by:
      length in interface Layer.D2<U,U>
    • get

      public U get(int x1, int x2)
      Specified by:
      get in interface Layer.D2<U,U>
    • set

      public void set(int x1, int x2, U elem)
      Specified by:
      set in interface Layer.D2<U,U>
    • isAdapter

      public boolean isAdapter()
      Specified by:
      isAdapter in interface Layer.D2<U,U>
    • getUnit

      public U getUnit(int x1, int x2)
      Specified by:
      getUnit in interface Layer.D2<U,U>
    • setUnit

      public void setUnit(int x1, int x2, U unit)
      Specified by:
      setUnit in interface Layer.D2<U,U>