Package org.apache.uima.cas.impl
Class BinaryCasSerDes6.CasCompare
java.lang.Object
org.apache.uima.cas.impl.BinaryCasSerDes6.CasCompare
- Enclosing class:
- BinaryCasSerDes6
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Int2IntRBT
private final Int2IntRBT
private final CASImpl
Compare 2 CASes for equal The layout of refs to aux heaps does not have to matchprivate final int[]
private int
private final Heap
private final CASImpl
private final int[]
private int
private final Heap
private final TypeSystemImpl
private final TypeSystemImpl
private TypeSystemImpl.TypeInfo
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
private boolean
private boolean
private boolean
compareSlot
(int offsetSrc, int offsetTgt) private boolean
compareStrings
(String s1, String s2) private boolean
diagnoseMiscompareHeapRef
(int c1ref, int c2ref, int offsetSrc) private StringBuilder
dumpByKind
(CASImpl cas, int offset, int iHeap) private StringBuilder
dumpHeapFs
(CASImpl cas, int iHeap, TypeSystemImpl ts) private StringBuilder
dumpHeapStoredArray
(CASImpl cas, int iHeap) private StringBuilder
dumpNonHeapStoredArray
(CASImpl cas, int iHeap) private boolean
private boolean
mismatchFs
(int i1, int i2)
-
Field Details
-
c1
Compare 2 CASes for equal The layout of refs to aux heaps does not have to match -
c2
-
ts1
-
ts2
-
c1HO
-
c2HO
-
c1heap
private final int[] c1heap -
c2heap
private final int[] c2heap -
typeInfo
-
c1heapIndex
private int c1heapIndex -
c2heapIndex
private int c2heapIndex -
addr2seq1
-
addr2seq2
-
-
Constructor Details
-
CasCompare
-
-
Method Details
-
compareCASes
public boolean compareCASes() -
compareFss
private boolean compareFss() -
compareFssArray
private boolean compareFssArray() -
compareSlot
private boolean compareSlot(int offsetSrc, int offsetTgt) -
diagnoseMiscompareHeapRef
private boolean diagnoseMiscompareHeapRef(int c1ref, int c2ref, int offsetSrc) -
compareStrings
-
mismatchFs
private boolean mismatchFs() -
mismatchFs
private boolean mismatchFs(int i1, int i2) -
dumpHeapFs
-
dumpHeapStoredArray
-
dumpNonHeapStoredArray
-
dumpByKind
-