Lines Matching defs:visited
28 private Map<Object,Integer> visited;
31 * Creates a new output with an empty/null visited map.
52 * For an already visited instance, output a reference to it. The
53 * reference is the negation of the visited offset minus one.
55 if (visited != null) {
56 Integer offset = visited.get(o);
100 * Remember that we visited this instance. Certain formats
104 if (visited == null) {
105 visited = new IdentityHashMap<Object,Integer>();
109 visited.put(o, prohibitNestedRefs ? RecordInput.PROHIBIT_REF_OFFSET :
118 visited.put(o, visitedOffset);
165 * PRI_KEY_VISITED_OFFSET is used as the visited offset to indicate
166 * that the visited object is stored in the primary key byte array.
168 if (visited == null) {
169 visited = new IdentityHashMap<Object,Integer>();
171 visited.put(o, RecordInput.PRI_KEY_VISITED_OFFSET);