-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into CSSTUDIO-1987
- Loading branch information
Showing
17 changed files
with
369 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
core/formula/src/main/java/org/csstudio/apputil/formula/bitwise/BitAND.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package org.csstudio.apputil.formula.bitwise; | ||
|
||
public class BitAND extends TwoArgBitwiseOperation | ||
{ | ||
public BitAND() | ||
{ | ||
super("bitAND", "Bitwise AND (x, y)", (a, b) -> a & b); | ||
} | ||
} |
9 changes: 9 additions & 0 deletions
9
core/formula/src/main/java/org/csstudio/apputil/formula/bitwise/BitLeftShift.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package org.csstudio.apputil.formula.bitwise; | ||
|
||
public class BitLeftShift extends TwoArgBitwiseOperation | ||
{ | ||
public BitLeftShift() | ||
{ | ||
super("bitLeftShift", "Bitwise Left Shift (x, y)", (a, b) -> a << b); | ||
} | ||
} |
9 changes: 9 additions & 0 deletions
9
core/formula/src/main/java/org/csstudio/apputil/formula/bitwise/BitNOT.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package org.csstudio.apputil.formula.bitwise; | ||
|
||
public class BitNOT extends OneArgBitwiseOperation | ||
{ | ||
public BitNOT() | ||
{ | ||
super("bitNOT", "Bitwise NOT (x)", a -> ~a); | ||
} | ||
} |
9 changes: 9 additions & 0 deletions
9
core/formula/src/main/java/org/csstudio/apputil/formula/bitwise/BitOR.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package org.csstudio.apputil.formula.bitwise; | ||
|
||
public class BitOR extends TwoArgBitwiseOperation | ||
{ | ||
public BitOR() | ||
{ | ||
super("bitOR", "Bitwise OR (x, y)", (a, b) -> a | b); | ||
} | ||
} |
9 changes: 9 additions & 0 deletions
9
core/formula/src/main/java/org/csstudio/apputil/formula/bitwise/BitRightShift.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package org.csstudio.apputil.formula.bitwise; | ||
|
||
public class BitRightShift extends TwoArgBitwiseOperation | ||
{ | ||
public BitRightShift() | ||
{ | ||
super("bitRightShift", "Bitwise Right Shift (x, y)", (a, b) -> a >> b); | ||
} | ||
} |
9 changes: 9 additions & 0 deletions
9
core/formula/src/main/java/org/csstudio/apputil/formula/bitwise/BitXOR.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package org.csstudio.apputil.formula.bitwise; | ||
|
||
public class BitXOR extends TwoArgBitwiseOperation | ||
{ | ||
public BitXOR() | ||
{ | ||
super("bitXOR", "Bitwise XOR (x, y)", (a, b) -> a ^ b); | ||
} | ||
} |
Oops, something went wrong.