android-components / mozilla.components.browser.engine.system.matcher

Package mozilla.components.browser.engine.system.matcher

Types

ReversibleString

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.

Trie

open class Trie

Simple implementation of a Trie, used for indexing URLs.

UrlMatcher

class UrlMatcher

Provides functionality to process categorized URL black/white lists and match URLs against these lists.

Extensions for External Classes

kotlin.String