Multibinder that does not
permit duplicates.
| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| private final ImmutableMultimap | |
| private final Key |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| private | DuplicateElementError(Key<Set<T>> setKey, ImmutableMultimap<T, DuplicateElementError.
|
| Modifier and Type | Method and Description |
|---|---|
| protected void | formatDetail(List<ErrorDetail<?>>
list of errors that are mergeable with this error others, Formatter for printing the error message formatter)Implements abstract com. |
| private void | |
| pack-priv static <T> ImmutableMultimap | |
| public DuplicateElementError | withSources(List<Object> newSources)
Implements abstract com. ErrorDetail with updated sources.
|
| elements | back to summary |
|---|---|
| private final ImmutableMultimap<T, DuplicateElementError. | |
| setKey | back to summary |
|---|---|
| private final Key<Set<T>> setKey | |
| DuplicateElementError | back to summary |
|---|---|
| pack-priv DuplicateElementError(Key<Set<T>> setKey, List<Binding<T>> bindings, T[] values, List<Object> sources) | |
| DuplicateElementError | back to summary |
|---|---|
| private DuplicateElementError(Key<Set<T>> setKey, ImmutableMultimap<T, DuplicateElementError. | |
| formatDetail | back to summary |
|---|---|
| protected void formatDetail(List<ErrorDetail<?>> others, Formatter formatter) Implements abstract com. Doc from com. Formats the detail of this error message along with other errors that are mergeable with this
error. This is called from
| |
| formatElement | back to summary |
|---|---|
| private void formatElement(DuplicateElementError. | |
| indexElements | back to summary |
|---|---|
| pack-priv static <T> ImmutableMultimap | |
| withSources | back to summary |
|---|---|
| public DuplicateElementError Implements abstract com. Doc from com. Returns a new instance of the same
| |
| binding | back to summary |
|---|---|
| pack-priv Binding<T> binding | |
| value | back to summary |
|---|---|
| pack-priv T value | |
| Element | back to summary |
|---|---|
| pack-priv Element(T value, Binding<T> binding) | |