Class AlgorithmFlip.ShapeHolder

  • Enclosing class:
    AlgorithmFlip

    private class AlgorithmFlip.ShapeHolder
    extends java.lang.Object
    DOCUMENT ME!
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private boolean isConstructed
      DOCUMENT ME!
      private java.util.ArrayList<java.lang.Object> shapeList
      DOCUMENT ME!
      private java.util.ArrayList<java.lang.Integer> sliceList
      DOCUMENT ME!
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private ShapeHolder()
      Creates a new ShapeHolder object.
      private ShapeHolder​(java.lang.Object[] shapeArr, int[] sliceLocArr)
      Creates a new ShapeHolder object.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      private boolean addShape​(java.lang.Object shape, int slice)
      DOCUMENT ME!
      private java.lang.Object getShape​(int index)
      DOCUMENT ME!
      private java.lang.Object[] getShapesAtSlice​(int slice)
      DOCUMENT ME!
      private int getSlice​(int index)
      DOCUMENT ME!
      private boolean isConstructed()
      DOCUMENT ME!
      • Methods inherited from class java.lang.Object

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

      • isConstructed

        private boolean isConstructed
        DOCUMENT ME!
      • shapeList

        private java.util.ArrayList<java.lang.Object> shapeList
        DOCUMENT ME!
      • sliceList

        private java.util.ArrayList<java.lang.Integer> sliceList
        DOCUMENT ME!
    • Constructor Detail

      • ShapeHolder

        private ShapeHolder()
        Creates a new ShapeHolder object.
      • ShapeHolder

        private ShapeHolder​(java.lang.Object[] shapeArr,
                            int[] sliceLocArr)
        Creates a new ShapeHolder object.
        Parameters:
        shapeArr - DOCUMENT ME!
        sliceLocArr - DOCUMENT ME!
    • Method Detail

      • addShape

        private boolean addShape​(java.lang.Object shape,
                                 int slice)
        DOCUMENT ME!
        Parameters:
        shape - DOCUMENT ME!
        slice - DOCUMENT ME!
        Returns:
        DOCUMENT ME!
      • getShape

        private java.lang.Object getShape​(int index)
        DOCUMENT ME!
        Parameters:
        index - DOCUMENT ME!
        Returns:
        DOCUMENT ME!
      • getShapesAtSlice

        private java.lang.Object[] getShapesAtSlice​(int slice)
        DOCUMENT ME!
        Parameters:
        slice - DOCUMENT ME!
        Returns:
        DOCUMENT ME!
      • getSlice

        private int getSlice​(int index)
        DOCUMENT ME!
        Parameters:
        index - DOCUMENT ME!
        Returns:
        DOCUMENT ME!
      • isConstructed

        private boolean isConstructed()
        DOCUMENT ME!
        Returns:
        DOCUMENT ME!