Class Transform


  • final class Transform
    extends java.lang.Object
    Transformations on dictionary words.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private byte[] prefix  
      private byte[] suffix  
      (package private) static Transform[] TRANSFORMS  
      private int type  
    • Constructor Summary

      Constructors 
      Constructor Description
      Transform​(java.lang.String prefix, int type, java.lang.String suffix)  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) static byte[] readUniBytes​(java.lang.String uniBytes)  
      (package private) static int transformDictionaryWord​(byte[] dst, int dstOffset, java.nio.ByteBuffer data, int wordOffset, int len, Transform transform)  
      • Methods inherited from class java.lang.Object

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

      • prefix

        private final byte[] prefix
      • type

        private final int type
      • suffix

        private final byte[] suffix
      • TRANSFORMS

        static final Transform[] TRANSFORMS
    • Constructor Detail

      • Transform

        Transform​(java.lang.String prefix,
                  int type,
                  java.lang.String suffix)
    • Method Detail

      • readUniBytes

        static byte[] readUniBytes​(java.lang.String uniBytes)
      • transformDictionaryWord

        static int transformDictionaryWord​(byte[] dst,
                                           int dstOffset,
                                           java.nio.ByteBuffer data,
                                           int wordOffset,
                                           int len,
                                           Transform transform)