public class LeftShift extends MathOperationShift
| Constructor and Description |
|---|
LeftShift() |
| Modifier and Type | Method and Description |
|---|---|
List<Integer> |
calculate(List<Integer> list,
int n)
Shifts the values in the list n bits to the left.
|
List<Integer> |
calculate(List<Integer> list,
int n,
int begin,
int length)
Shifts the values between the indices in the list n bits to the left.
|
Copyright © 2017. All rights reserved.