Ejemplo n.º 1
0
 internal PersistentMapImpl(Storage storage, Type keyType, int initialSize)
     : base(storage)
 {
     type   = ClassDescriptor.getTypeCode(keyType);
     keys   = new IComparable[initialSize];
     values = storage.CreateLink(initialSize);
 }
Ejemplo n.º 2
0
        private ThickFieldIndex(StorageImpl db, Type cls, string fieldName, KeyMember mbr)
            : base(db, mbr.type)
#endif
        {
            this.mbr       = mbr;
            this.cls       = cls;
            this.fieldName = fieldName;
            type           = ClassDescriptor.convertToNotNullable(ClassDescriptor.getTypeCode(mbr.type));
        }