Package com.perforce.p4java.mapapi
Class MapItem
java.lang.Object
com.perforce.p4java.mapapi.MapItem
-
Field Details
-
chain
-
mapFlag
-
slot
public int slot -
halves
halves - MapHalf and trinary tree for each directionTrinary tree?
left: less than this mapping right: greater than this mapping center: included in this mapping
e.g. a center for //depot/... might be //depot/main/...
-
-
Constructor Details
-
MapItem
MapItem -- mapping entries on a chainA MapItem holds two MapHalfs that constitute a single entry in a MapTable. MapItem also implement fast searching for entries for MapTable::Check() and MapTable::Translate().
- Parameters:
c- chainl- left mappingr- right mappingf- map flagss- slot
-
MapItem
MapItem -- mapping entries on a chainA MapItem holds two MapHalfs that constitute a single entry in a MapTable. MapItem also implement fast searching for entries for MapTable::Check() and MapTable::Translate().
- Parameters:
c- chainl- left mappingr- right mappingf- map flagss- slotcaseMode- case mode
-
-
Method Details
-
whole
-
half
-
isParent
-
lhs
-
rhs
-
ths
-
ohs
-
next
-
flag
-
slot
public int slot() -
reverse
MapItem::Reverse - reverse the chain, to swap precedence- Returns:
- map item
-