Class IndexCore.D2

java.lang.Object
org.jlayer.util.IndexCore.D2
Direct Known Subclasses:
LayerCore.D2.DIterator, LayerIndex.D2
Enclosing class:
IndexCore

abstract static class IndexCore.D2 extends Object
The core of an index generator for indices of dimension 2.
Author:
Gerd Kock
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected int
     
    protected int
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    D2()
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected abstract int
     
    protected abstract int
    getLength(int x1)
     
    protected boolean
    setNextX12(int initial_x1)
     
    protected boolean
    setNextX2(int initial_x2)
     
    protected abstract boolean
    validIndex(int x1, int x2)
     

    Methods inherited from class java.lang.Object

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

    • x1

      protected int x1
    • x2

      protected int x2
  • Constructor Details

    • D2

      D2()
  • Method Details

    • getLength

      protected abstract int getLength()
    • getLength

      protected abstract int getLength(int x1)
    • validIndex

      protected abstract boolean validIndex(int x1, int x2)
    • setNextX2

      protected boolean setNextX2(int initial_x2)
    • setNextX12

      protected boolean setNextX12(int initial_x1)