Class TrieContext.Factory<T>
java.lang.Object
pascal.taie.analysis.pta.core.cs.context.TrieContext.Factory<T>
- All Implemented Interfaces:
ContextFactory<T>
- Enclosing class:
- TrieContext
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionConstructs a context by appending a context element to a parent context.
-
Constructor Details
-
Factory
public Factory()
-
-
Method Details
-
getEmptyContext
- Specified by:
getEmptyContext
in interfaceContextFactory<T>
- Returns:
- the empty context.
-
make
- Specified by:
make
in interfaceContextFactory<T>
- Returns:
- the context with one element.
-
make
- Specified by:
make
in interfaceContextFactory<T>
- Returns:
- the context that consists of given elements.
-
makeLastK
- Specified by:
makeLastK
in interfaceContextFactory<T>
- Returns:
- a context with last k elements of given context.
-
append
Description copied from interface:ContextFactory
Constructs a context by appending a context element to a parent context. The length of the resulting context will be restricted by given limit.- Specified by:
append
in interfaceContextFactory<T>
- Returns:
- the resulting context.
-