Package | Description |
---|---|
org.grouplens.grapht | |
org.grouplens.grapht.context |
Modifier and Type | Method and Description |
---|---|
Context |
InjectorBuilder.matching(ContextPattern pattern) |
Context |
Context.matching(ContextPattern pattern)
Restruct context to matching a particular pattern.
|
Modifier and Type | Method and Description |
---|---|
static ContextPattern |
ContextPattern.any()
Create a context pattern matching any context.
|
ContextPattern |
ContextPattern.append(Class<?> type)
Append a type element to this pattern with multiplicity
Multiplicity.ONE . |
ContextPattern |
ContextPattern.append(ContextElementMatcher match)
Append an element to this pattern with multiplicity
Multiplicity.ONE . |
ContextPattern |
ContextPattern.append(ContextElementMatcher match,
Multiplicity mult)
Append an element to this pattern.
|
ContextPattern |
ContextPattern.append(ContextPattern toAppend)
Append a context pattern to this pattern.
|
ContextPattern |
ContextPattern.appendDotStar()
Return a pattern matching any context of which the current pattern matches a prefix.
|
static ContextPattern |
ContextPattern.empty()
Create an empty context pattern.
|
static ContextPattern |
ContextPattern.subsequence(Class<?>... types)
Create a context matcher matching any context with the specified subsequence.
|
static ContextPattern |
ContextPattern.subsequence(ContextElementMatcher... matchers)
Create a context matcher matching any context with a subequence matching the provided matchers.
|
Modifier and Type | Method and Description |
---|---|
ContextPattern |
ContextPattern.append(ContextPattern toAppend)
Append a context pattern to this pattern.
|
Copyright © 2016 GroupLens Research. All rights reserved.