java.lang.Object
com.googlecode.concurrenttrees.radix.node.concrete.bytearray.ByteArrayCharSequence
All Implemented Interfaces:
CharSequence

public class ByteArrayCharSequence extends Object implements CharSequence
A CharSequence view onto a byte array of UTF-8-encoded characters, with the proviso that all of the characters were encoded as a single byte in UTF-8. This uses Java's built-in casting from UTF-8 to char primitives.
  • Field Details

    • bytes

      final byte[] bytes
    • start

      final int start
    • end

      final int end
  • Constructor Details

    • ByteArrayCharSequence

      public ByteArrayCharSequence(byte[] bytes, int start, int end)
  • Method Details