FMLiveSwitchDataChannelCollection Class Reference

A collection of data channels. More...

Instance Methods

(NSMutableArray *) - arrayFromList:
 Creates an array from a list. More...
 
(FMLiveSwitchDataChannelCollection *) - createCollection
 Creates a collection. More...
 
(instancetype) - init
 Initializes a new instance of the FMLiveSwitchCollection`2 class. More...
 
- Instance Methods inherited from FMLiveSwitchCollection
(void) - addMany:
 Adds some values. More...
 
(void) - addSuccess:
 Invoked when an element is added to the collection. More...
 
(void) - addSuccessNoLock:
 Invoked after an element is added to the collection. More...
 
(bool) - any
 Determined whether the collection contains at least one value. More...
 
(bool) - anyWithPredicate:
 Determined whether the collection contains at least one value that matches the specified predicate. More...
 
(T) - anyWithPredicateBlock
 Determined whether the collection contains at least one value that matches the specified predicate. More...
 
(bool) - anyWithPredicateBlock:
 Determined whether the collection contains at least one value that matches the specified predicate. More...
 
(NSMutableArray *) - arrayFromList:
 Creates an array from a list. More...
 
(bool) - contains:
 Determines whether the collection contains a value. More...
 
(int) - count
 Gets the count. More...
 
(T) - first
 Gets the first value. More...
 
(T) - firstOrDefault
 Gets the first value. More...
 
(T) - firstOrDefaultWithPredicate:
 Gets the first value that matches the specified predicate. More...
 
(T) - firstOrDefaultWithPredicateBlock
 Gets the first value that matches the specified predicate. More...
 
(T) - firstOrDefaultWithPredicateBlock:
 Gets the first value that matches the specified predicate. More...
 
(T) - firstWithPredicate:
 Gets the first value that matches the specified predicate. More...
 
(T) - firstWithPredicateBlock
 Gets the first value that matches the specified predicate. More...
 
(T) - firstWithPredicateBlock:
 Gets the first value that matches the specified predicate. More...
 
(void) - forEachWithCallback:
 Executes a callback function once per value. More...
 
(T, int) - forEachWithCallbackBlock
 Executes a callback function once per value. More...
 
(void) - forEachWithCallbackBlock:
 Executes a callback function once per value. More...
 
(T) - last
 Gets the last value. More...
 
(T) - lastOrDefault
 Gets the last value. More...
 
(T) - lastOrDefaultWithPredicate:
 Gets the last value that matches the specified predicate. More...
 
(T) - lastOrDefaultWithPredicateBlock
 Gets the last value that matches the specified predicate. More...
 
(T) - lastOrDefaultWithPredicateBlock:
 Gets the last value that matches the specified predicate. More...
 
(T) - lastWithPredicate:
 Gets the last value that matches the specified predicate. More...
 
(T) - lastWithPredicateBlock
 Gets the last value that matches the specified predicate. More...
 
(T) - lastWithPredicateBlock:
 Gets the last value that matches the specified predicate. More...
 
(bool) - remove:
 Removes a value. More...
 
(void) - removeAll
 Removes all values. More...
 
(T) - removeFirst
 Removes the first value. More...
 
(T) - removeFirstWithCondition:
 Removes the first value that matches a given condition. More...
 
(T) - removeFirstWithConditionBlock
 Removes the first value that matches a given condition. More...
 
(T) - removeFirstWithConditionBlock:
 Removes the first value that matches a given condition. More...
 
(T) - removeLast
 Removes the last value. More...
 
(T) - removeLastWithCondition:
 Removes the last value that matches a given condition. More...
 
(T) - removeLastWithConditionBlock
 Removes the last value that matches a given condition. More...
 
(T) - removeLastWithConditionBlock:
 Removes the last value that matches a given condition. More...
 
(void) - removeMany:
 Removes some values. More...
 
(void) - removeSuccess:
 Invoked when an element is removed from the collection. More...
 
(void) - removeSuccessNoLock:
 Invoked after an element is removed from the collection. More...
 
(void) - replace:
 Replaces the collection with a new set of values. More...
 
(void) - setValue:
 Sets the value. More...
 
(void) - setValues:
 Sets the values. More...
 
(T) - single
 Gets the only value. More...
 
(T) - singleOrDefault
 Gets the only value. More...
 
(T) - singleOrDefaultWithPredicate:
 Gets the only value that matches the specified predicate. More...
 
(T) - singleOrDefaultWithPredicateBlock
 Gets the only value that matches the specified predicate. More...
 
(T) - singleOrDefaultWithPredicateBlock:
 Gets the only value that matches the specified predicate. More...
 
(T) - singleWithPredicate:
 Gets the only value that matches the specified predicate. More...
 
(T) - singleWithPredicateBlock
 Gets the only value that matches the specified predicate. More...
 
(T) - singleWithPredicateBlock:
 Gets the only value that matches the specified predicate. More...
 
(NSMutableArray *) - toArray
 Clones the values into a new array. More...
 
(T) - value
 Gets the value. More...
 
(T) - valueAtOrDefaultWithIndex:
 Gets the value at the specified index. More...
 
(T) - valueAtWithIndex:
 Gets the value at the specified index. More...
 
(NSMutableArray *) - values
 Gets the values. More...
 
(TCollection) - whereWithPredicate:
 Creates a new collection with values that match the specified predicate. More...
 
(T, int) - whereWithPredicateBlock
 Creates a new collection with values that match the specified predicate. More...
 
(TCollection) - whereWithPredicateBlock:
 Creates a new collection with values that match the specified predicate. More...
 

Class Methods

(FMLiveSwitchDataChannelCollection *) + dataChannelCollection
 
- Class Methods inherited from FMLiveSwitchCollection
(FMLiveSwitchCollection *) + collection
 Initializes a new instance of the FMLiveSwitchCollection`2 class. More...
 

Additional Inherited Members

- Protected Attributes inherited from FMLiveSwitchCollection
 __pad0__: NSObject- (bool) add:(T)value
 

Detailed Description

A collection of data channels.

Method Documentation

◆ arrayFromList:

- (NSMutableArray*) arrayFromList: (NSMutableArray< FMLiveSwitchDataChannel * > *)  list

Creates an array from a list.

Parameters
listThe list.

◆ createCollection

- (FMLiveSwitchDataChannelCollection*) createCollection

Creates a collection.

Implements FMLiveSwitchCollection.

◆ dataChannelCollection

+ (FMLiveSwitchDataChannelCollection*) dataChannelCollection

◆ init

- (instancetype) init

Initializes a new instance of the FMLiveSwitchCollection`2 class.

Implements FMLiveSwitchCollection.