This class implements a simple byte vector with access to the underlying array. This class has been taken from the Apache FOP project (http://xmlgraphics.apache.org/fop/). They have been slightly modified.
コード例 #1
0
	  public HyphenationTree()
	  {
		stoplist = new Dictionary<>(23); // usually a small table
		classmap = new TernaryTree();
		vspace = new ByteVector();
		vspace.alloc(1); // this reserves index 0, which we don't use
	  }