Package org.jibx.binding.def
Class NestedCollection.CollectionBase
- java.lang.Object
-
- org.jibx.binding.def.NestedCollection.CollectionBase
-
- Direct Known Subclasses:
NestedCollection.CollectionLoad,NestedCollection.CollectionStore
- Enclosing class:
- NestedCollection
abstract static class NestedCollection.CollectionBase extends java.lang.ObjectBase class for collection item load strategy. The implementation class must handle the appropriate form of code generation for the type of collection being used.
-
-
Field Summary
Fields Modifier and Type Field Description private booleanm_isDoubleWordDouble word value flag.
-
Constructor Summary
Constructors Modifier Constructor Description protectedCollectionBase(boolean doubword)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidappendPOP(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 voidappendSWAP(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).
-
-
-
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
-
-