mirror of
https://github.com/objective-see/TaskExplorer.git
synced 2026-03-22 07:02:39 +00:00
initial commit
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
//
|
||||
// NSMutableArray+QueueAdditions.h
|
||||
// BlockBlock
|
||||
//
|
||||
// Created by Patrick Wardle on 9/26/14.
|
||||
// Copyright (c) 2014 Synack. All rights reserved.
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
@interface NSMutableArray (QueueAdditions)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
//METHODS
|
||||
|
||||
//remove first object
|
||||
-(id)dequeue;
|
||||
|
||||
//add to end
|
||||
-(void)enqueue:(id)obj;
|
||||
|
||||
//check if empty
|
||||
-(BOOL)empty;
|
||||
|
||||
@end
|
||||
Reference in New Issue
Block a user