Class NestedCollection.CollectionBase

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private boolean m_isDoubleWord
      Double word value flag.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected CollectionBase​(boolean doubword)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void appendPOP​(MethodBuilder mb)
      Append the appropriate instruction to pop the item value (which may be one or two words, as configured for this collection) from the top of the stack.
      protected void appendSWAP​(MethodBuilder mb)
      Append the appropriate instruction to swap the top of the stack (which must be a single-word value) with an item value (which may be one or two words, as configured for this collection).
      • Methods inherited from class java.lang.Object

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

      • m_isDoubleWord

        private final boolean m_isDoubleWord
        Double word value flag.
    • Constructor Detail

      • CollectionBase

        protected CollectionBase​(boolean doubword)
        Constructor.
        Parameters:
        doubword - double word value flag
    • Method Detail

      • appendSWAP

        protected void appendSWAP​(MethodBuilder mb)
        Append the appropriate instruction to swap the top of the stack (which must be a single-word value) with an item value (which may be one or two words, as configured for this collection).
        Parameters:
        mb - method
      • appendPOP

        protected void appendPOP​(MethodBuilder mb)
        Append the appropriate instruction to pop the item value (which may be one or two words, as configured for this collection) from the top of the stack.
        Parameters:
        mb - method