//
//  MPT_Pair.m
//  AUCoderDemo
//
//  Created by Andrew Salamon on 5/19/06.
//  Copyright (c) 2006 Machine Perception Laboratory 
//  University of California San Diego.
//

#import "MPT_Pair.h"


@implementation MPT_Pair
+ (MPT_Pair *)pairWith:(id)_first and:(id)_second
{
	return [[[MPT_Pair alloc] initWith:_first and:_second] autorelease];
}

- (id)initWith:(id)_first and:(id)_second
{
	if( self = [super init] )
	{
		first = [_first retain];
		second = [_second retain];
	}
	return self;
}

- (void)dealloc
{
	[first release];
	[second release];
	[super dealloc];
}

- (id)first
{
	return first;
}
- (id)second
{
	return second;
}

@end
