public interface Points
This interface provides access to the point definitions.
Modifier and Type | Interface and Description |
---|---|
static class |
Points.Impl
Impl.
|
Modifier and Type | Method and Description |
---|---|
Optional<Point> |
getPoint(String key)
Gets the point with the specified key.
|
Optional<Point> |
getPointByName(String name)
Gets the point with the specified name.
|
Optional<Point> |
getPointByUUID(UUID uuid)
Gets the point with the specified UUID.
|
Collection<Point> |
getPointsCollection()
Gets a collection of the registered points.
|
@Nonnull @CheckReturnValue Optional<Point> getPoint(@Nonnull String key)
key
- The key (either UUID string or name).@Nonnull @CheckReturnValue Optional<Point> getPointByName(@Nonnull String name)
name
- The name.@Nonnull @CheckReturnValue Optional<Point> getPointByUUID(@Nonnull UUID uuid)
uuid
- The UUID.@Nonnull @CheckReturnValue Collection<Point> getPointsCollection()
Copyright © 2003-2019 Serge Brisson. All Rights Reserved.