Class GlyphArraySplitterRegexImpl

  • All Implemented Interfaces:
    GlyphArraySplitter

    public class GlyphArraySplitterRegexImpl
    extends java.lang.Object
    implements GlyphArraySplitter
    This is an in-efficient implementation based on regex, which helps split the array.
    Author:
    Palash Ray
    • Constructor Summary

      Constructors 
      Constructor Description
      GlyphArraySplitterRegexImpl​(java.util.Set<java.util.List<java.lang.Integer>> matchers)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<java.util.List<java.lang.Integer>> split​(java.util.List<java.lang.Integer> glyphIds)  
      • Methods inherited from class java.lang.Object

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

      • GlyphArraySplitterRegexImpl

        public GlyphArraySplitterRegexImpl​(java.util.Set<java.util.List<java.lang.Integer>> matchers)
    • Method Detail

      • split

        public java.util.List<java.util.List<java.lang.Integer>> split​(java.util.List<java.lang.Integer> glyphIds)
        Specified by:
        split in interface GlyphArraySplitter