StrictKeyedIterable
Interface Synopsis
trait StrictKeyedIterable implements HH\KeyedIterable<Tk, Tv> {...}
Public Methods
->concat<Tu super Tv>(Traversable<Tu> $traversable): Iterable<Tu>
->filter((function(Tv): bool) $fn): KeyedIterable<Tk, Tv>
->filterWithKey((function(Tk, Tv): bool) $fn): KeyedIterable<Tk, Tv>
->firstKey(): ?Tk
->firstValue(): ?Tv
->keys(): Iterable<Tk>
->lastKey(): ?Tk
->lastValue(): ?Tv
->lazy(): KeyedIterable<Tk, Tv>
->map<Tu>((function(Tv): Tu) $fn): KeyedIterable<Tk, Tu>
->mapWithKey<Tu>((function(Tk, Tv): Tu) $fn): KeyedIterable<Tk, Tu>
->skip(int $n): KeyedIterable<Tk, Tv>
->skipWhile((function(Tv): bool) $fn): KeyedIterable<Tk, Tv>
->slice(int $start, int $len): KeyedIterable<Tk, Tv>
->take(int $n): KeyedIterable<Tk, Tv>
->takeWhile((function(Tv): bool) $fn): KeyedIterable<Tk, Tv>
->toArray()
->toImmMap(): ImmMap<Tk, Tv>
->toImmSet(): ImmSet<Tv>
->toImmVector(): ImmVector<Tv>
->toKeysArray(): varray<Tk>
->toMap()
->toSet()
->toValuesArray(): varray<Tv>
->toVector()
->values(): Iterable<Tv>
->zip<Tu>(Traversable<Tu> $traversable): KeyedIterable<Tk, Pair<Tv, Tu>>
Public Methods (HH\KeyedIterable
)
->getIterator(): KeyedIterator<Tk, Tv>
Returns an iterator that points to beginning of the currentKeyedIterable