Class ArrayKey


  • public class ArrayKey
    extends Key
    • Field Detail

      • keyInts

        private java.util.Collection<java.lang.Integer> keyInts
      • keyInt

        private int keyInt
    • Constructor Detail

      • ArrayKey

        public ArrayKey​(java.lang.String jsonKey,
                        java.lang.Object spec)
    • Method Detail

      • getLiteralIntKey

        protected int getLiteralIntKey()
        Specified by:
        getLiteralIntKey in class Key
      • applyChild

        protected void applyChild​(java.lang.Object container)
        Description copied from class: Key
        Apply this Key to the defaultee. If this Key is a WildCard key, this may apply to many entries in the container.
        Specified by:
        applyChild in class Key
      • applyLiteralKeyToContainer

        private void applyLiteralKeyToContainer​(java.lang.Integer literalIndex,
                                                java.util.List<java.lang.Object> container)
      • determineMatchingContainerKeys

        private java.util.Collection<java.lang.Integer> determineMatchingContainerKeys​(java.util.List<java.lang.Object> container)