Class UTF8Util.SkipCount

java.lang.Object
org.apache.derby.iapi.util.UTF8Util.SkipCount
Enclosing class:
UTF8Util

private static final class UTF8Util.SkipCount extends Object
Helper class to hold skip counts; one for chars and one for bytes.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final long
    Number of bytes skipped.
    private final long
    Number of characters skipped.
  • Constructor Summary

    Constructors
    Constructor
    Description
    SkipCount(long charCount, long byteCount)
    Creates a holder for the specified skip counts.
  • Method Summary

    Modifier and Type
    Method
    Description
    (package private) long
     
    (package private) long
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • byteCount

      private final long byteCount
      Number of bytes skipped.
    • charCount

      private final long charCount
      Number of characters skipped.
  • Constructor Details

    • SkipCount

      SkipCount(long charCount, long byteCount)
      Creates a holder for the specified skip counts.
      Parameters:
      charCount - number of characters
      byteCount - number of bytes
  • Method Details

    • charsSkipped

      long charsSkipped()
    • bytesSkipped

      long bytesSkipped()