Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
   package com.robrua.orianna.type.staticdata;
   
   import java.io.Serializable;
   import java.util.HashMap;
   import java.util.Map;
   
   public class BasicDataStats implements Serializable {
       private static final long serialVersionUID = -3892233449766313123L;
  
      public BasicDataStats(final Double flatArmorModfinal Double flatArmorPenetrationModfinal Double flatAttackSpeedModfinal Double flatBlockMod,
              final Double flatCritChanceModfinal Double flatCritDamageModfinal Double flatEXPBonusfinal Double flatEnergyPoolMod,
              final Double flatEnergyRegenModfinal Double flatGoldPer10Modfinal Double flatHPPoolModfinal Double flatHPRegenMod,
              final Double flatMPPoolModfinal Double flatMPRegenModfinal Double flatMagicDamageModfinal Double flatMagicPenetrationMod,
              final Double flatMovementSpeedModfinal Double flatPhysicalDamageModfinal Double flatSpellBlockModfinal Double percentArmorMod,
              final Double percentArmorPenetrationModfinal Double percentAttackSpeedModfinal Double percentBlockModfinal Double percentCooldownMod,
              final Double percentCritChanceModfinal Double percentCritDamageModfinal Double percentDodgeModfinal Double percentEXPBonus,
              final Double percentHPPoolModfinal Double percentHPRegenModfinal Double percentLifeStealModfinal Double percentMPPoolMod,
              final Double percentMPRegenModfinal Double percentMagicDamageModfinal Double percentMagicPenetrationModfinal Double percentMovementSpeedMod,
              final Double percentPhysicalDamageModfinal Double percentSpellBlockModfinal Double percentSpellVampModfinal Double rFlatArmorModPerLevel,
              final Double rFlatArmorPenetrationModfinal Double rFlatArmorPenetrationModPerLevelfinal Double rFlatCritChanceModPerLevel,
              final Double rFlatCritDamageModPerLevelfinal Double rFlatDodgeModfinal Double rFlatDodgeModPerLevelfinal Double rFlatEnergyModPerLevel,
              final Double rFlatEnergyRegenModPerLevelfinal Double rFlatGoldPer10Modfinal Double rFlatHPModPerLevelfinal Double rFlatHPRegenModPerLevel,
              final Double rFlatMPModPerLevelfinal Double rFlatMPRegenModPerLevelfinal Double rFlatMagicDamageModPerLevel,
              final Double rFlatMagicPenetrationModfinal Double rFlatMagicPenetrationModPerLevelfinal Double rFlatMovementSpeedModPerLevel,
              final Double rFlatPhysicalDamageModPerLevelfinal Double rFlatSpellBlockModPerLevelfinal Double rFlatTimeDeadMod,
              final Double rFlatTimeDeadModPerLevelfinal Double rPercentArmorPenetrationModfinal Double rPercentArmorPenetrationModPerLevel,
              final Double rPercentAttackSpeedModPerLevelfinal Double rPercentCooldownModfinal Double rPercentCooldownModPerLevel,
              final Double rPercentMagicPenetrationModfinal Double rPercentMagicPenetrationModPerLevelfinal Double rPercentMovementSpeedModPerLevel,
              final Double rPercentTimeDeadModfinal Double rPercentTimeDeadModPerLevel) {
          this. = flatArmorMod;
          this. = flatArmorPenetrationMod;
          this. = flatAttackSpeedMod;
          this. = flatBlockMod;
          this. = flatCritChanceMod;
          this. = flatCritDamageMod;
          this. = flatEXPBonus;
          this. = flatEnergyPoolMod;
          this. = flatEnergyRegenMod;
          this. = flatGoldPer10Mod;
          this. = flatHPPoolMod;
          this. = flatHPRegenMod;
          this. = flatMPPoolMod;
          this. = flatMPRegenMod;
          this. = flatMagicDamageMod;
          this. = flatMagicPenetrationMod;
          this. = flatMovementSpeedMod;
          this. = flatPhysicalDamageMod;
          this. = flatSpellBlockMod;
          this. = percentArmorMod;
          this. = percentArmorPenetrationMod;
          this. = percentAttackSpeedMod;
          this. = percentBlockMod;
          this. = percentCooldownMod;
          this. = percentCritChanceMod;
          this. = percentCritDamageMod;
          this. = percentDodgeMod;
          this. = percentEXPBonus;
          this. = percentHPPoolMod;
          this. = percentHPRegenMod;
          this. = percentLifeStealMod;
          this. = percentMPPoolMod;
          this. = percentMPRegenMod;
          this. = percentMagicDamageMod;
          this. = percentMagicPenetrationMod;
          this. = percentMovementSpeedMod;
          this. = percentPhysicalDamageMod;
          this. = percentSpellBlockMod;
          this. = percentSpellVampMod;
          this. = rFlatArmorModPerLevel;
          this. = rFlatArmorPenetrationMod;
          this. = rFlatArmorPenetrationModPerLevel;
          this. = rFlatCritChanceModPerLevel;
          this. = rFlatCritDamageModPerLevel;
          this. = rFlatDodgeMod;
          this. = rFlatDodgeModPerLevel;
          this. = rFlatEnergyModPerLevel;
          this. = rFlatEnergyRegenModPerLevel;
          this. = rFlatGoldPer10Mod;
          this. = rFlatHPModPerLevel;
          this. = rFlatHPRegenModPerLevel;
          this. = rFlatMPModPerLevel;
          this. = rFlatMPRegenModPerLevel;
          this. = rFlatMagicDamageModPerLevel;
          this. = rFlatMagicPenetrationMod;
          this. = rFlatMagicPenetrationModPerLevel;
          this. = rFlatMovementSpeedModPerLevel;
          this. = rFlatPhysicalDamageModPerLevel;
         this. = rFlatSpellBlockModPerLevel;
         this. = rFlatTimeDeadMod;
         this. = rFlatTimeDeadModPerLevel;
         this. = rPercentArmorPenetrationMod;
         this. = rPercentArmorPenetrationModPerLevel;
         this. = rPercentAttackSpeedModPerLevel;
         this. = rPercentCooldownMod;
         this. = rPercentCooldownModPerLevel;
         this. = rPercentMagicPenetrationMod;
         this. = rPercentMagicPenetrationModPerLevel;
         this. = rPercentMovementSpeedModPerLevel;
         this. = rPercentTimeDeadMod;
         this. = rPercentTimeDeadModPerLevel;
     }
 
     @Override
     public boolean equals(final Object obj) {
         if(this == obj) {
             return true;
         }
         if(obj == null) {
             return false;
         }
         if(!(obj instanceof BasicDataStats)) {
             return false;
         }
         final BasicDataStats other = (BasicDataStats)obj;
         if( == null) {
             if(other.flatArmorMod != null) {
                 return false;
             }
         }
         else if(!.equals(other.flatArmorMod)) {
             return false;
         }
         if( == null) {
             if(other.flatArmorPenetrationMod != null) {
                 return false;
             }
         }
         else if(!.equals(other.flatArmorPenetrationMod)) {
             return false;
         }
         if( == null) {
             if(other.flatAttackSpeedMod != null) {
                 return false;
             }
         }
         else if(!.equals(other.flatAttackSpeedMod)) {
             return false;
         }
         if( == null) {
             if(other.flatBlockMod != null) {
                 return false;
             }
         }
         else if(!.equals(other.flatBlockMod)) {
             return false;
         }
         if( == null) {
             if(other.flatCritChanceMod != null) {
                 return false;
             }
         }
         else if(!.equals(other.flatCritChanceMod)) {
             return false;
         }
         if( == null) {
             if(other.flatCritDamageMod != null) {
                 return false;
             }
         }
         else if(!.equals(other.flatCritDamageMod)) {
             return false;
         }
         if( == null) {
             if(other.flatEXPBonus != null) {
                 return false;
             }
         }
         else if(!.equals(other.flatEXPBonus)) {
             return false;
         }
         if( == null) {
             if(other.flatEnergyPoolMod != null) {
                 return false;
             }
         }
         else if(!.equals(other.flatEnergyPoolMod)) {
             return false;
         }
         if( == null) {
             if(other.flatEnergyRegenMod != null) {
                 return false;
             }
         }
         else if(!.equals(other.flatEnergyRegenMod)) {
             return false;
         }
         if( == null) {
             if(other.flatGoldPer10Mod != null) {
                 return false;
             }
         }
         else if(!.equals(other.flatGoldPer10Mod)) {
             return false;
         }
         if( == null) {
             if(other.flatHPPoolMod != null) {
                 return false;
             }
         }
         else if(!.equals(other.flatHPPoolMod)) {
             return false;
         }
         if( == null) {
             if(other.flatHPRegenMod != null) {
                 return false;
             }
         }
         else if(!.equals(other.flatHPRegenMod)) {
             return false;
         }
         if( == null) {
             if(other.flatMPPoolMod != null) {
                 return false;
             }
         }
         else if(!.equals(other.flatMPPoolMod)) {
             return false;
         }
         if( == null) {
             if(other.flatMPRegenMod != null) {
                 return false;
             }
         }
         else if(!.equals(other.flatMPRegenMod)) {
             return false;
         }
         if( == null) {
             if(other.flatMagicDamageMod != null) {
                 return false;
             }
         }
         else if(!.equals(other.flatMagicDamageMod)) {
             return false;
         }
         if( == null) {
             if(other.flatMagicPenetrationMod != null) {
                 return false;
             }
         }
         else if(!.equals(other.flatMagicPenetrationMod)) {
             return false;
         }
         if( == null) {
             if(other.flatMovementSpeedMod != null) {
                 return false;
             }
         }
         else if(!.equals(other.flatMovementSpeedMod)) {
             return false;
         }
         if( == null) {
             if(other.flatPhysicalDamageMod != null) {
                 return false;
             }
         }
         else if(!.equals(other.flatPhysicalDamageMod)) {
             return false;
         }
         if( == null) {
             if(other.flatSpellBlockMod != null) {
                 return false;
             }
         }
         else if(!.equals(other.flatSpellBlockMod)) {
             return false;
         }
         if( == null) {
             if(other.percentArmorMod != null) {
                 return false;
             }
         }
         else if(!.equals(other.percentArmorMod)) {
             return false;
         }
         if( == null) {
             if(other.percentArmorPenetrationMod != null) {
                 return false;
             }
         }
         else if(!.equals(other.percentArmorPenetrationMod)) {
             return false;
         }
         if( == null) {
             if(other.percentAttackSpeedMod != null) {
                 return false;
             }
         }
         else if(!.equals(other.percentAttackSpeedMod)) {
             return false;
         }
         if( == null) {
             if(other.percentBlockMod != null) {
                 return false;
             }
         }
         else if(!.equals(other.percentBlockMod)) {
             return false;
         }
         if( == null) {
             if(other.percentCooldownMod != null) {
                 return false;
             }
         }
         else if(!.equals(other.percentCooldownMod)) {
             return false;
         }
         if( == null) {
             if(other.percentCritChanceMod != null) {
                 return false;
             }
         }
         else if(!.equals(other.percentCritChanceMod)) {
             return false;
         }
         if( == null) {
             if(other.percentCritDamageMod != null) {
                 return false;
             }
         }
         else if(!.equals(other.percentCritDamageMod)) {
             return false;
         }
         if( == null) {
             if(other.percentDodgeMod != null) {
                 return false;
             }
         }
         else if(!.equals(other.percentDodgeMod)) {
             return false;
         }
         if( == null) {
             if(other.percentEXPBonus != null) {
                 return false;
             }
         }
         else if(!.equals(other.percentEXPBonus)) {
             return false;
         }
         if( == null) {
             if(other.percentHPPoolMod != null) {
                 return false;
             }
         }
         else if(!.equals(other.percentHPPoolMod)) {
             return false;
         }
         if( == null) {
             if(other.percentHPRegenMod != null) {
                 return false;
             }
         }
         else if(!.equals(other.percentHPRegenMod)) {
             return false;
         }
         if( == null) {
             if(other.percentLifeStealMod != null) {
                 return false;
             }
         }
         else if(!.equals(other.percentLifeStealMod)) {
             return false;
         }
         if( == null) {
             if(other.percentMPPoolMod != null) {
                 return false;
             }
         }
         else if(!.equals(other.percentMPPoolMod)) {
             return false;
         }
         if( == null) {
             if(other.percentMPRegenMod != null) {
                 return false;
             }
         }
         else if(!.equals(other.percentMPRegenMod)) {
             return false;
         }
         if( == null) {
             if(other.percentMagicDamageMod != null) {
                 return false;
             }
         }
         else if(!.equals(other.percentMagicDamageMod)) {
             return false;
         }
         if( == null) {
             if(other.percentMagicPenetrationMod != null) {
                 return false;
             }
         }
         else if(!.equals(other.percentMagicPenetrationMod)) {
             return false;
         }
         if( == null) {
             if(other.percentMovementSpeedMod != null) {
                 return false;
             }
         }
         else if(!.equals(other.percentMovementSpeedMod)) {
             return false;
         }
         if( == null) {
             if(other.percentPhysicalDamageMod != null) {
                 return false;
             }
         }
         else if(!.equals(other.percentPhysicalDamageMod)) {
             return false;
         }
         if( == null) {
             if(other.percentSpellBlockMod != null) {
                 return false;
             }
         }
         else if(!.equals(other.percentSpellBlockMod)) {
             return false;
         }
         if( == null) {
             if(other.percentSpellVampMod != null) {
                 return false;
             }
         }
         else if(!.equals(other.percentSpellVampMod)) {
             return false;
         }
         if( == null) {
             if(other.rFlatArmorModPerLevel != null) {
                 return false;
             }
         }
         else if(!.equals(other.rFlatArmorModPerLevel)) {
             return false;
         }
         if( == null) {
             if(other.rFlatArmorPenetrationMod != null) {
                 return false;
             }
         }
         else if(!.equals(other.rFlatArmorPenetrationMod)) {
             return false;
         }
         if( == null) {
             if(other.rFlatArmorPenetrationModPerLevel != null) {
                 return false;
             }
         }
         else if(!.equals(other.rFlatArmorPenetrationModPerLevel)) {
             return false;
         }
         if( == null) {
             if(other.rFlatCritChanceModPerLevel != null) {
                 return false;
             }
         }
         else if(!.equals(other.rFlatCritChanceModPerLevel)) {
             return false;
         }
         if( == null) {
             if(other.rFlatCritDamageModPerLevel != null) {
                 return false;
             }
         }
         else if(!.equals(other.rFlatCritDamageModPerLevel)) {
             return false;
         }
         if( == null) {
             if(other.rFlatDodgeMod != null) {
                 return false;
             }
         }
         else if(!.equals(other.rFlatDodgeMod)) {
             return false;
         }
         if( == null) {
             if(other.rFlatDodgeModPerLevel != null) {
                 return false;
             }
         }
         else if(!.equals(other.rFlatDodgeModPerLevel)) {
             return false;
         }
         if( == null) {
             if(other.rFlatEnergyModPerLevel != null) {
                 return false;
             }
         }
         else if(!.equals(other.rFlatEnergyModPerLevel)) {
             return false;
         }
         if( == null) {
             if(other.rFlatEnergyRegenModPerLevel != null) {
                 return false;
             }
         }
         else if(!.equals(other.rFlatEnergyRegenModPerLevel)) {
             return false;
         }
         if( == null) {
             if(other.rFlatGoldPer10Mod != null) {
                 return false;
             }
         }
         else if(!.equals(other.rFlatGoldPer10Mod)) {
             return false;
         }
         if( == null) {
             if(other.rFlatHPModPerLevel != null) {
                 return false;
             }
         }
         else if(!.equals(other.rFlatHPModPerLevel)) {
             return false;
         }
         if( == null) {
             if(other.rFlatHPRegenModPerLevel != null) {
                 return false;
             }
         }
         else if(!.equals(other.rFlatHPRegenModPerLevel)) {
             return false;
         }
         if( == null) {
             if(other.rFlatMPModPerLevel != null) {
                 return false;
             }
         }
         else if(!.equals(other.rFlatMPModPerLevel)) {
             return false;
         }
         if( == null) {
             if(other.rFlatMPRegenModPerLevel != null) {
                 return false;
             }
         }
         else if(!.equals(other.rFlatMPRegenModPerLevel)) {
             return false;
         }
         if( == null) {
             if(other.rFlatMagicDamageModPerLevel != null) {
                 return false;
             }
         }
         else if(!.equals(other.rFlatMagicDamageModPerLevel)) {
             return false;
         }
         if( == null) {
             if(other.rFlatMagicPenetrationMod != null) {
                 return false;
             }
         }
         else if(!.equals(other.rFlatMagicPenetrationMod)) {
             return false;
         }
         if( == null) {
             if(other.rFlatMagicPenetrationModPerLevel != null) {
                 return false;
             }
         }
         else if(!.equals(other.rFlatMagicPenetrationModPerLevel)) {
             return false;
         }
         if( == null) {
             if(other.rFlatMovementSpeedModPerLevel != null) {
                 return false;
             }
         }
         else if(!.equals(other.rFlatMovementSpeedModPerLevel)) {
             return false;
         }
         if( == null) {
             if(other.rFlatPhysicalDamageModPerLevel != null) {
                 return false;
             }
         }
         else if(!.equals(other.rFlatPhysicalDamageModPerLevel)) {
             return false;
         }
         if( == null) {
             if(other.rFlatSpellBlockModPerLevel != null) {
                 return false;
             }
         }
         else if(!.equals(other.rFlatSpellBlockModPerLevel)) {
             return false;
         }
         if( == null) {
             if(other.rFlatTimeDeadMod != null) {
                 return false;
             }
         }
         else if(!.equals(other.rFlatTimeDeadMod)) {
             return false;
         }
         if( == null) {
             if(other.rFlatTimeDeadModPerLevel != null) {
                 return false;
             }
         }
         else if(!.equals(other.rFlatTimeDeadModPerLevel)) {
             return false;
         }
         if( == null) {
             if(other.rPercentArmorPenetrationMod != null) {
                 return false;
             }
         }
         else if(!.equals(other.rPercentArmorPenetrationMod)) {
             return false;
         }
         if( == null) {
             if(other.rPercentArmorPenetrationModPerLevel != null) {
                 return false;
             }
         }
         else if(!.equals(other.rPercentArmorPenetrationModPerLevel)) {
             return false;
         }
         if( == null) {
             if(other.rPercentAttackSpeedModPerLevel != null) {
                 return false;
             }
         }
         else if(!.equals(other.rPercentAttackSpeedModPerLevel)) {
             return false;
         }
         if( == null) {
             if(other.rPercentCooldownMod != null) {
                 return false;
             }
         }
         else if(!.equals(other.rPercentCooldownMod)) {
             return false;
         }
         if( == null) {
             if(other.rPercentCooldownModPerLevel != null) {
                 return false;
             }
         }
         else if(!.equals(other.rPercentCooldownModPerLevel)) {
             return false;
         }
         if( == null) {
             if(other.rPercentMagicPenetrationMod != null) {
                 return false;
             }
         }
         else if(!.equals(other.rPercentMagicPenetrationMod)) {
             return false;
         }
         if( == null) {
             if(other.rPercentMagicPenetrationModPerLevel != null) {
                 return false;
             }
         }
         else if(!.equals(other.rPercentMagicPenetrationModPerLevel)) {
             return false;
         }
         if( == null) {
             if(other.rPercentMovementSpeedModPerLevel != null) {
                 return false;
             }
         }
         else if(!.equals(other.rPercentMovementSpeedModPerLevel)) {
             return false;
         }
         if( == null) {
             if(other.rPercentTimeDeadMod != null) {
                 return false;
             }
         }
         else if(!.equals(other.rPercentTimeDeadMod)) {
             return false;
         }
         if( == null) {
             if(other.rPercentTimeDeadModPerLevel != null) {
                 return false;
             }
         }
         else if(!.equals(other.rPercentTimeDeadModPerLevel)) {
             return false;
         }
         return true;
     }
 
     @Override
     public int hashCode() {
         final int prime = 31;
         int result = 1;
         result = prime * result + ( == null ? 0 : .hashCode());
         result = prime * result + ( == null ? 0 : .hashCode());
         result = prime * result + ( == null ? 0 : .hashCode());
         result = prime * result + ( == null ? 0 : .hashCode());
         result = prime * result + ( == null ? 0 : .hashCode());
         result = prime * result + ( == null ? 0 : .hashCode());
         result = prime * result + ( == null ? 0 : .hashCode());
         result = prime * result + ( == null ? 0 : .hashCode());
         result = prime * result + ( == null ? 0 : .hashCode());
         result = prime * result + ( == null ? 0 : .hashCode());
         result = prime * result + ( == null ? 0 : .hashCode());
         result = prime * result + ( == null ? 0 : .hashCode());
         result = prime * result + ( == null ? 0 : .hashCode());
         result = prime * result + ( == null ? 0 : .hashCode());
         result = prime * result + ( == null ? 0 : .hashCode());
         result = prime * result + ( == null ? 0 : .hashCode());
         result = prime * result + ( == null ? 0 : .hashCode());
         result = prime * result + ( == null ? 0 : .hashCode());
         result = prime * result + ( == null ? 0 : .hashCode());
         result = prime * result + ( == null ? 0 : .hashCode());
         result = prime * result + ( == null ? 0 : .hashCode());
         result = prime * result + ( == null ? 0 : .hashCode());
         result = prime * result + ( == null ? 0 : .hashCode());
         result = prime * result + ( == null ? 0 : .hashCode());
         result = prime * result + ( == null ? 0 : .hashCode());
         result = prime * result + ( == null ? 0 : .hashCode());
         result = prime * result + ( == null ? 0 : .hashCode());
         result = prime * result + ( == null ? 0 : .hashCode());
         result = prime * result + ( == null ? 0 : .hashCode());
         result = prime * result + ( == null ? 0 : .hashCode());
         result = prime * result + ( == null ? 0 : .hashCode());
         result = prime * result + ( == null ? 0 : .hashCode());
         result = prime * result + ( == null ? 0 : .hashCode());
         result = prime * result + ( == null ? 0 : .hashCode());
         result = prime * result + ( == null ? 0 : .hashCode());
         result = prime * result + ( == null ? 0 : .hashCode());
         result = prime * result + ( == null ? 0 : .hashCode());
         result = prime * result + ( == null ? 0 : .hashCode());
         result = prime * result + ( == null ? 0 : .hashCode());
         result = prime * result + ( == null ? 0 : .hashCode());
         result = prime * result + ( == null ? 0 : .hashCode());
         result = prime * result + ( == null ? 0 : .hashCode());
         result = prime * result + ( == null ? 0 : .hashCode());
         result = prime * result + ( == null ? 0 : .hashCode());
         result = prime * result + ( == null ? 0 : .hashCode());
         result = prime * result + ( == null ? 0 : .hashCode());
         result = prime * result + ( == null ? 0 : .hashCode());
         result = prime * result + ( == null ? 0 : .hashCode());
         result = prime * result + ( == null ? 0 : .hashCode());
         result = prime * result + ( == null ? 0 : .hashCode());
         result = prime * result + ( == null ? 0 : .hashCode());
         result = prime * result + ( == null ? 0 : .hashCode());
         result = prime * result + ( == null ? 0 : .hashCode());
         result = prime * result + ( == null ? 0 : .hashCode());
         result = prime * result + ( == null ? 0 : .hashCode());
         result = prime * result + ( == null ? 0 : .hashCode());
         result = prime * result + ( == null ? 0 : .hashCode());
         result = prime * result + ( == null ? 0 : .hashCode());
         result = prime * result + ( == null ? 0 : .hashCode());
         result = prime * result + ( == null ? 0 : .hashCode());
         result = prime * result + ( == null ? 0 : .hashCode());
         result = prime * result + ( == null ? 0 : .hashCode());
         result = prime * result + ( == null ? 0 : .hashCode());
         result = prime * result + ( == null ? 0 : .hashCode());
         result = prime * result + ( == null ? 0 : .hashCode());
         result = prime * result + ( == null ? 0 : .hashCode());
         result = prime * result + ( == null ? 0 : .hashCode());
         result = prime * result + ( == null ? 0 : .hashCode());
         result = prime * result + ( == null ? 0 : .hashCode());
         result = prime * result + ( == null ? 0 : .hashCode());
         result = prime * result + ( == null ? 0 : .hashCode());
         return result;
     }

    
Gets only the stats which weren't null

Returns:
the non-null stats
 
     public Map<StringDoublenonNullStats() {
         final Map<StringDoublenonNull = new HashMap<StringDouble>();
         if( != null) {
             nonNull.put("flatArmorMod");
         }
         if( != null) {
             nonNull.put("flatArmorPenetrationMod");
         }
         if( != null) {
             nonNull.put("flatAttackSpeedMod");
         }
         if( != null) {
             nonNull.put("flatBlockMod");
         }
         if( != null) {
             nonNull.put("flatCritChanceMod");
         }
         if( != null) {
             nonNull.put("flatCritDamageMod");
         }
         if( != null) {
             nonNull.put("flatEXPBonus");
         }
         if( != null) {
             nonNull.put("flatEnergyPoolMod");
         }
         if( != null) {
             nonNull.put("flatEnergyRegenMod");
         }
         if( != null) {
             nonNull.put("flatGoldPer10Mod");
         }
         if( != null) {
             nonNull.put("flatHPPoolMod");
         }
         if( != null) {
             nonNull.put("flatHPRegenMod");
         }
         if( != null) {
             nonNull.put("flatMPPoolMod");
         }
         if( != null) {
             nonNull.put("flatMPRegenMod");
         }
         if( != null) {
             nonNull.put("flatMagicDamageMod");
         }
         if( != null) {
             nonNull.put("flatMagicPenetrationMod");
         }
         if( != null) {
             nonNull.put("flatMovementSpeedMod");
         }
         if( != null) {
             nonNull.put("flatPhysicalDamageMod");
         }
         if( != null) {
             nonNull.put("flatSpellBlockMod");
         }
         if( != null) {
             nonNull.put("percentArmorMod");
         }
         if( != null) {
             nonNull.put("percentArmorPenetrationMod");
         }
         if( != null) {
             nonNull.put("percentAttackSpeedMod");
         }
         if( != null) {
             nonNull.put("percentBlockMod");
         }
         if( != null) {
             nonNull.put("percentCooldownMod");
         }
         if( != null) {
             nonNull.put("percentCritChanceMod");
         }
         if( != null) {
             nonNull.put("percentCritDamageMod");
         }
         if( != null) {
             nonNull.put("percentDodgeMod");
         }
         if( != null) {
             nonNull.put("percentEXPBonus");
         }
         if( != null) {
             nonNull.put("percentHPPoolMod");
         }
         if( != null) {
             nonNull.put("percentHPRegenMod");
         }
         if( != null) {
             nonNull.put("percentLifeStealMod");
         }
         if( != null) {
             nonNull.put("percentMPPoolMod");
         }
         if( != null) {
             nonNull.put("percentMPRegenMod");
         }
         if( != null) {
             nonNull.put("percentMagicDamageMod");
         }
         if( != null) {
             nonNull.put("percentMagicPenetrationMod");
         }
         if( != null) {
             nonNull.put("percentMovementSpeedMod");
         }
         if( != null) {
             nonNull.put("percentPhysicalDamageMod");
         }
         if( != null) {
             nonNull.put("percentSpellBlockMod");
         }
         if( != null) {
             nonNull.put("percentSpellVampMod");
         }
         if( != null) {
             nonNull.put("rFlatArmorModPerLevel");
         }
         if( != null) {
             nonNull.put("rFlatArmorPenetrationMod");
         }
         if( != null) {
             nonNull.put("rFlatArmorPenetrationModPerLevel");
         }
         if( != null) {
             nonNull.put("rFlatCritChanceModPerLevel");
         }
         if( != null) {
             nonNull.put("rFlatCritDamageModPerLevel");
         }
         if( != null) {
             nonNull.put("rFlatDodgeMod");
         }
         if( != null) {
             nonNull.put("rFlatDodgeModPerLevel");
         }
         if( != null) {
             nonNull.put("rFlatEnergyModPerLevel");
         }
         if( != null) {
             nonNull.put("rFlatEnergyRegenModPerLevel");
         }
         if( != null) {
             nonNull.put("rFlatGoldPer10Mod");
         }
         if( != null) {
             nonNull.put("rFlatHPModPerLevel");
         }
         if( != null) {
             nonNull.put("rFlatHPRegenModPerLevel");
         }
         if( != null) {
             nonNull.put("rFlatMPModPerLevel");
         }
         if( != null) {
             nonNull.put("rFlatMPRegenModPerLevel");
         }
         if( != null) {
             nonNull.put("rFlatMagicDamageModPerLevel");
         }
         if( != null) {
             nonNull.put("rFlatMagicPenetrationMod");
         }
         if( != null) {
             nonNull.put("rFlatMagicPenetrationModPerLevel");
         }
         if( != null) {
             nonNull.put("rFlatMovementSpeedModPerLevel");
         }
         if( != null) {
             nonNull.put("rFlatPhysicalDamageModPerLevel");
         }
         if( != null) {
             nonNull.put("rFlatSpellBlockModPerLevel");
         }
         if( != null) {
             nonNull.put("rFlatTimeDeadMod");
         }
         if( != null) {
             nonNull.put("rFlatTimeDeadModPerLevel");
         }
         if( != null) {
             nonNull.put("rPercentArmorPenetrationMod");
         }
         if( != null) {
             nonNull.put("rPercentArmorPenetrationModPerLevel");
         }
         if( != null) {
             nonNull.put("rPercentAttackSpeedModPerLevel");
         }
         if( != null) {
             nonNull.put("rPercentCooldownMod");
         }
         if( != null) {
             nonNull.put("rPercentCooldownModPerLevel");
         }
         if( != null) {
             nonNull.put("rPercentMagicPenetrationMod");
         }
         if( != null) {
             nonNull.put("rPercentMagicPenetrationModPerLevel");
         }
         if( != null) {
             nonNull.put("rPercentMovementSpeedModPerLevel");
         }
         if( != null) {
             nonNull.put("rPercentTimeDeadMod");
         }
         if(