K - the key typeV - the val typepublic class ImmutableHashList<K extends Comparable<K>,V> extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
contains(V value) |
static <K extends Comparable<K>,V> |
empty() |
boolean |
isEmpty() |
static <K extends Comparable<K>,V> |
of(List<V> values,
Function<V,K> mapper) |
List<V> |
values() |
public final boolean contains(V value)
public final boolean isEmpty()
public static <K extends Comparable<K>,V> ImmutableHashList<K,V> of(List<V> values, Function<V,K> mapper)
public static <K extends Comparable<K>,V> ImmutableHashList<K,V> empty()
Copyright © 2024. All rights reserved.