@Value.Immutable
public interface UseImmutableCollections
| Modifier and Type | Method and Description |
|---|---|
com.google.common.collect.ImmutableMap<RetentionPolicy,Integer> |
enumMap() |
com.google.common.collect.ImmutableSet<RetentionPolicy> |
enumSet() |
com.google.common.collect.ImmutableList<String> |
list() |
com.google.common.collect.ImmutableListMultimap<String,Integer> |
listMultimap() |
com.google.common.collect.ImmutableMap<String,Integer> |
map() |
com.google.common.collect.ImmutableMultimap<String,Integer> |
multimap() |
com.google.common.collect.ImmutableMultiset<String> |
multiset() |
com.google.common.collect.ImmutableSet<Integer> |
set() |
com.google.common.collect.ImmutableSetMultimap<String,Integer> |
setMultimap() |
com.google.common.collect.ImmutableSortedMap<RetentionPolicy,Integer> |
sortedMap() |
com.google.common.collect.ImmutableSortedSet<RetentionPolicy> |
sortedSet() |
default void |
use() |
com.google.common.collect.ImmutableList<String> list()
com.google.common.collect.ImmutableSet<Integer> set()
com.google.common.collect.ImmutableSet<RetentionPolicy> enumSet()
@Value.NaturalOrder com.google.common.collect.ImmutableSortedSet<RetentionPolicy> sortedSet()
com.google.common.collect.ImmutableMultiset<String> multiset()
com.google.common.collect.ImmutableMap<RetentionPolicy,Integer> enumMap()
@Value.ReverseOrder com.google.common.collect.ImmutableSortedMap<RetentionPolicy,Integer> sortedMap()
default void use()
Copyright © 2022 The Immutables.org authors. All rights reserved.