1 package org.jacorb.orb; 2 3 22 23 import java.util.*; 24 25 31 32 public class EncapsInfo 33 { 34 public boolean littleEndian; 35 public int index; 36 public int start; 37 public int size; 38 public Map valueMap; 39 public Map repIdMap; 40 public Map codebaseMap; 41 42 43 44 public EncapsInfo(boolean le, int index, int start, int size) 45 { 46 littleEndian = le; 47 this.index = index; 48 this.start = start; 49 this.size = size; 50 } 51 52 61 62 public EncapsInfo(int index, int start, 63 Map valueMap, Map repIdMap, Map codebaseMap) 64 { 65 this.index = index; 66 this.start = start; 67 this.valueMap = valueMap; 68 this.repIdMap = repIdMap; 69 this.codebaseMap = codebaseMap; 70 71 if (valueMap == null) 72 { 73 valueMap = new HashMap (); 74 } 75 if (repIdMap == null) 76 { 77 repIdMap = new HashMap (); 78 } 79 if (codebaseMap == null) 80 { 81 codebaseMap = new HashMap (); 82 } 83 } 84 } 85 | Popular Tags |