Skip to content

Commit

Permalink
Merge pull request #15 from willf/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
willf committed Feb 12, 2014
2 parents d132ae0 + d071573 commit 417f44d
Show file tree
Hide file tree
Showing 4 changed files with 347 additions and 133 deletions.
2 changes: 1 addition & 1 deletion LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2013 The Go Authors. All rights reserved.
Copyright (c) 2014 Will Fitzgerald. All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ Example use:
if b.Test(1000) {
b.Clear(1000)
}
for i,e := v.NextSet(0); e; i,e = v.NextSet(i + 1) {
frmt.Println("The following bit is set:",i);
}
if B.Intersection(bitset.New(100).Set(10)).Count() > 1 {
fmt.Println("Intersection works.")
}
Expand Down
Loading

0 comments on commit 417f44d

Please sign in to comment.