public class PrepareEncoder extends Object
| Constructor and Description |
|---|
PrepareEncoder() |
| Modifier and Type | Method and Description |
|---|---|
static long |
getScBwdDir()
The bit for backward direction
|
static long |
getScDirMask()
A bitmask for two directions
|
static long |
getScFwdDir()
The bit for forward direction
|
static int |
getScMergeStatus(long existingScFlags,
long newScFlags)
Returns 1 if existingScFlags of an existing shortcut can be overwritten with a new shortcut by
newScFlags without limiting or changing the directions of the existing shortcut.
|
public static final long getScDirMask()
public static final long getScFwdDir()
public static final long getScBwdDir()
public static final int getScMergeStatus(long existingScFlags,
long newScFlags)
| newScFlags:
existingScFlags | -> | <- | <->
-> | 1 | 0 | 2
<- | 0 | 1 | 2
<-> | 0 | 0 | 1
Copyright © 2012–2018. All rights reserved.