Skip to content
This repository has been archived by the owner on Dec 22, 2021. It is now read-only.

Rename Growable.add to addOne #337

Merged
merged 1 commit into from
Jan 12, 2018
Merged

Rename Growable.add to addOne #337

merged 1 commit into from
Jan 12, 2018

Conversation

szeiger
Copy link
Contributor

@szeiger szeiger commented Jan 11, 2018

  • Align Shrinkable with Growable: subtract becomes subtractOne,
    the multi-element overload of subtract is removed in favor of -=

  • Rename Set.insert to Set.add

This avoids incompatibilities with the old collections library where
Set.add returns whether the element was added. The Java collections
do the same.

- Align Shrinkable with Growable: subtract becomes subtractOne,
  the multi-element overload of subtract is removed in favor of -=

- Rename Set.insert to Set.add

This avoids incompatibilities with the old collections library where
Set.add returns whether the element was added. The Java collections
do the same.
@szeiger szeiger merged commit 6d058bd into master Jan 12, 2018
@julienrf julienrf mentioned this pull request Jan 18, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants