Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce BooleanVar, IntVar, LongVar, DoubleVar? #19

Open
fge opened this issue Nov 25, 2014 · 0 comments
Open

Introduce BooleanVar, IntVar, LongVar, DoubleVar? #19

fge opened this issue Nov 25, 2014 · 0 comments

Comments

@fge
Copy link
Owner

fge commented Nov 25, 2014

A Var is a rather heavy beast:

  • since it allows for nulls, instead of a light ArrayDeque, we need a LinkedList;
  • the initial value is itself a generic class.

Starting with 1.1.0, Var will not allow for nulls (there will be a NullableVar for that). But the primitive case will not be solved.

Another motivation is issue #17.

fge added a commit that referenced this issue Nov 25, 2014
This is not really a bug.

As the OP mentions, the problem here is that a Boolean is returned instead of a
boolean. The real "fix", if any, would be to have a BooleanVar.

See also issue #19.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant