abstract class ReversibleString
A String wrapper utility that allows for efficient string reversal. We regularly need to reverse strings. The standard way of doing this in Java would be to copy the string to reverse (e.g. using StringBuffer.reverse()). This seems wasteful when we only read our Strings character by character, in which case can just transpose positions as needed. |
|
open class Trie
Simple implementation of a Trie, used for indexing URLs. |
|
class UrlMatcher
Provides functionality to process categorized URL black/white lists and match URLs against these lists. |