CacheView<T>, java.lang.Iterable<T>public interface SnowflakeCacheView<T extends ISnowflake> extends CacheView<T>
CacheView implementation
specifically to view ISnowflake implementations.CacheView.SimpleCacheView<T>| Modifier and Type | Method | Description |
|---|---|---|
T |
getElementById(long id) |
Retrieves the entity represented by the provided ID.
|
default T |
getElementById(java.lang.String id) |
Retrieves the entity represented by the provided ID.
|
asList, asSet, collect, getElementsByName, getElementsByName, isEmpty, parallelStream, size, streamT getElementById(long id)
id - The ID of the entitydefault T getElementById(java.lang.String id)
id - The ID of the entityjava.lang.NumberFormatException - If the provided String is null or
cannot be resolved to an unsigned long id