//
//  DecorationCount.h
//  ArmorP3V1
//
//

#import <Foundation/Foundation.h>
#import "PSItem.h"
#import "PSWrap.h"

@interface DecorationCount : NSObject {
}

@property (nonatomic, retain) NSMutableArray* listDeco;
@property (nonatomic, assign) int* listCount;
@property (nonatomic, assign) int capacity;

-(id)initWith:(id)with;
+(int)compareDecorationCount:(id)a to:(id)b;
-(id)init;
-(void)resetWithColumn:(NSMutableArray*)deco;
-(void)ensureCapacity:(int)newCap;
-(int)count;
-(PSWrap*)decoAt:(int)pos;
-(void)increment:(PSWrap*) e;
-(void)set:(PSWrap*) e : (int) x;
-(void)putAll:(DecorationCount*)set;
-(void)addAll:(DecorationCount*)set;
-(void)minusAll:(DecorationCount*)set;
-(void)clear;
-(BOOL)isEmpty;
-(NSInteger)get:(PSItem*)e;

@end
