Methods Summary |
---|
final void | copy(com.sun.jts.CosTransactions.LogLSN other)makes the target LSN a copy of the parameter.
extent = other.extent;
offset = other.offset;
|
final boolean | equals(com.sun.jts.CosTransactions.LogLSN other)Determines whether the given LSN is equal to the target.
return offset == other.offset && extent == other.extent;
|
final boolean | greaterThan(com.sun.jts.CosTransactions.LogLSN other)Determines whether the target LSN is greater than the parameter.
return ( (offset > other.offset && extent == other.extent) ||
extent > other.extent);
|
final boolean | isNULL()Determines whether the target LSN is NULL.
return offset == 0 && extent == 0;
|
final boolean | lessThan(com.sun.jts.CosTransactions.LogLSN other)Determines whether the target LSN is less than the parameter.
return ( (offset < other.offset && extent == other.extent) ||
extent < other.extent);
|
final int | toBytes(byte[] bytes, int index)Makes a byte representation of the LogLSN.
bytes[index++] = (byte) offset;
bytes[index++] = (byte)(offset >> 8);
bytes[index++] = (byte)(offset >> 16);
bytes[index++] = (byte)(offset >> 24);
bytes[index++] = (byte) extent;
bytes[index++] = (byte)(extent >> 8);
bytes[index++] = (byte)(extent >> 16);
bytes[index++] = (byte)(extent >> 24);
return SIZEOF;
|
public final java.lang.String | toString()This method is called to direct the object to format its state to a String.
return "LSN(ext="/*#Frozen*/+extent+",off="/*#Frozen*/+offset+")"/*#Frozen*/;
|