This repository has been archived by the owner on May 28, 2019. It is now read-only.
Version 0.7.0
Pre-release
Pre-release
This release includes numerous naming changes to improve consistency across the project. Please be aware that some new methods and classes have been added with the same name as existing methods which have been renamed.
- [BC] The
mbstring
extension is now required - [BC] Renamed
MutableAssociativeInterface::merge()
tomergeInPlace()
- [BC] Renamed
AssociativeInterface::combine()
tomerge()
- [BC] Renamed
MutableIterableInterface::filter()
tofilterInPlace()
- [BC] Renamed
IterableInterface::filtered()
tofilter()
- [BC] Renamed
MutableSequenceInterface::sort()
tosortInPlace()
- [BC] Renamed
MutableSequenceInterface::reverse()
toreverseInPlace()
- [BC] Renamed
SequenceInterface::sorted()
tosort()
- [BC] Renamed
SequenceInterface::reverse()
toreversed()
- [BC] Moved
AssociativeKeyGenerator
intoIcecave\Collections\Detail
namespace (it is not part of the public API) - [BC] Added begin index parameter to
RandomAccessInterface::indexOfLast()
andfindLast()
- [BC] Swapped the order of parameters to
PriorityQueue::__construct()
- [BC] The
Map
class has been renamed toHashMap
- [BC] The
Set
class has been renamed toHashSet
- [BC] Renamed
Set::isEqual()
toSet::isEqualSet()
- [BC] All set-specific operations (union, diff, etc) can now only operate on sets of the same type and hash/comparator function
- [BC] Renamed
Set::isStrictSuperSet()
andisStrictSubSet()
toisProperSuperSet()
andisProperSubSet()
, respectively - [FIXED] Fixed issue that prevented pushing elements into a
PriorityQueue
with an explicit priority that is weakly equivalent to null (eg, 0) - [FIXED] Fixed issues with
Vector::filter()
andjoin()
whereby additional null values were added to the collection - [FIXED] Fixed several issues with
Vector
wherebycount()
is called on iterable arguments that are not necessarily countable - [NEW]
Collection
class provides collection type agnostic operations for generic programming - [NEW] All collections now implement
ExtendedComparableInterface
from Icecave\Parity - [NEW] Added
Map
, a comparator based associative container - [NEW] Added
Set
, a comparator based set container - [NEW] Added
SetInterface
, which addsisIntersecting()
,addMany()
,removeMany()
,symmetricDiff()
andsymmetricDiffInPlace()
- [NEW] Added an iterator traits system (see
Collection::iteratorTraits
) - [NEW] Added
create()
static method to each collection for constructing from elements as variable arguments - [NEW] Added
MutableRandomAccessInterface::insertRange()
- [IMPROVED] Prioritizer parameter to
PriorityQueue::__construct()
now defaults to the identity function - [IMPROVED] Added optional end index parameter to
RandomAccessInterface::indexOf()
andfind()
- [IMPROVED]
Vector
now implementsSeekableIterator