refactor database class hierarchy
This commit is contained in:
1 parent
db838efc65
commit
21d83f93dc
22 files changed
+217
-190
No files matched your search
+16
-1
@@ -10,7 +10,7 @@
|
||||
*******************************************************************************/
|
||||
package com.minres.scviewer.database;
|
||||
|
||||
public class BitVector {
|
||||
public class BitVector implements IEvent {
|
||||
|
||||
private final int width;
|
||||
|
||||
@@ -166,5 +166,20 @@ public class BitVector {
|
||||
}
|
||||
return res;
|
||||
}
|
||||
|
||||
@Override
|
||||
public EventKind getKind() {
|
||||
return EventKind.SINGLE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Class<?> getType() {
|
||||
return this.getClass();
|
||||
}
|
||||
|
||||
@Override
|
||||
public IEvent duplicate() throws CloneNotSupportedException {
|
||||
return (IEvent)this.clone();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user