public class LeastUpperBound extends Object
Constructor | Description |
---|---|
LeastUpperBound(TypeSubstitutionSolver typeSubstitutionSolver,
ParametrizedTypeCache parametrizedTypeCache,
Symbols symbols) |
Modifier and Type | Method | Description |
---|---|---|
static Type |
greatestLowerBound(List<Type> types) |
From JLS 8 5.1.10 - greatest lower bound : glb(V1,...,Vm) is defined as V1 & ...
|
Type |
leastUpperBound(Set<Type> types) |
Compute the "Least Upper Bound" ("lub", jls8 §4.10.4) of a list of type.
|
public LeastUpperBound(TypeSubstitutionSolver typeSubstitutionSolver, ParametrizedTypeCache parametrizedTypeCache, Symbols symbols)
public Type leastUpperBound(Set<Type> types)
types
- Copyright © 2012–2018 SonarSource. All rights reserved.