Package edu.wpi.grip.core.sockets
Class SocketHint.Builder<T>
- java.lang.Object
-
- edu.wpi.grip.core.sockets.SocketHint.Builder<T>
-
- Enclosing interface:
- SocketHint<T>
public static class SocketHint.Builder<T> extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SocketHint<T>
build()
SocketHint.Builder<T>
domain(T[] domain)
SocketHint.Builder<T>
identifier(java.lang.String identifier)
SocketHint.Builder<T>
initialValue(T value)
SocketHint.Builder<T>
initialValueSupplier(java.util.function.Supplier<T> initialValueSupplier)
SocketHint.Builder<T>
view(SocketHint.View view)
-
-
-
Constructor Detail
-
Builder
public Builder(java.lang.Class<T> type)
-
-
Method Detail
-
identifier
public SocketHint.Builder<T> identifier(java.lang.String identifier)
-
initialValueSupplier
public SocketHint.Builder<T> initialValueSupplier(java.util.function.Supplier<T> initialValueSupplier)
-
initialValue
public SocketHint.Builder<T> initialValue(@Nullable T value)
-
view
public SocketHint.Builder<T> view(SocketHint.View view)
-
domain
public SocketHint.Builder<T> domain(T[] domain)
-
build
public SocketHint<T> build() throws java.util.NoSuchElementException
- Throws:
java.util.NoSuchElementException
-
-