public class MoveToFront extends Object
| Constructor and Description |
|---|
MoveToFront() |
| Modifier and Type | Method and Description |
|---|---|
byte |
indexToFront(int index)
Gets the value from a given index and moves it to the front of the MTF list (inverse Move To
Front transform)
|
int |
valueToFront(byte value)
Moves a value to the head of the MTF list (forward Move To Front transform)
|
public int valueToFront(byte value)
value - The value to movepublic byte indexToFront(int index)
index - The index to moveCopyright © 2015. All rights reserved.