equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1999, 2014, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1999, 2015, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
82 } |
82 } |
83 } |
83 } |
84 |
84 |
85 } |
85 } |
86 |
86 |
87 public enum BitsOpKind { |
|
88 INIT, |
|
89 CLEAR, |
|
90 INCL_BIT, |
|
91 EXCL_BIT, |
|
92 ASSIGN, |
|
93 AND_SET, |
|
94 OR_SET, |
|
95 DIFF_SET, |
|
96 XOR_SET, |
|
97 INCL_RANGE, |
|
98 EXCL_RANGE, |
|
99 } |
|
100 |
|
101 private final static int wordlen = 32; |
87 private final static int wordlen = 32; |
102 private final static int wordshift = 5; |
88 private final static int wordshift = 5; |
103 private final static int wordmask = wordlen - 1; |
89 private final static int wordmask = wordlen - 1; |
104 |
90 |
105 public int[] bits = null; |
91 public int[] bits = null; |