MCPcopy Create free account
hub / github.com/HumbleNet/HumbleNet / addUsingDefaultSort

Method addUsingDefaultSort

3rdparty/Amalgamate/juce_core_amalgam.h:7395–7399  ·  view source on GitHub ↗

Inserts a new element into the array, assuming that the array is sorted. This will use the DefaultElementComparator class for sorting, so your ElementType must be suitable for use with that class. If the array isn't sorted, the behaviour of this method will be unpredictable. @param newElement the new element to insert to the array @see addSorted, sort */

Source from the content-addressed store, hash-verified

7393 @see addSorted, sort
7394 */
7395 void addUsingDefaultSort (ParameterType newElement)
7396 {
7397 DefaultElementComparator <ElementType> comparator;
7398 addSorted (comparator, newElement);
7399 }
7400
7401 /** Finds the index of an element in the array, assuming that the array is sorted.
7402

Callers 2

addRangeMethod · 0.80
removeRangeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected