| Modifier and Type | Class and Description |
|---|---|
static class |
Types.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Types.Builder |
builder() |
boolean |
equals(java.lang.Object o) |
java.util.Optional<UserType> |
get(java.nio.ByteBuffer name)
Get the type with the specified name
|
UserType |
getNullable(java.nio.ByteBuffer name)
Get the type with the specified name
|
int |
hashCode() |
java.util.Iterator<UserType> |
iterator() |
static Types |
none() |
static Types |
of(UserType... types) |
java.lang.String |
toString() |
Types |
with(UserType type)
Create a Types instance with the provided type added
|
Types |
without(java.nio.ByteBuffer name)
Creates a Types instance with the type with the provided name removed
|
public static Types.Builder builder()
public static Types none()
public java.util.Iterator<UserType> iterator()
iterator in interface java.lang.Iterable<UserType>public java.util.Optional<UserType> get(java.nio.ByteBuffer name)
name - a non-qualified type nameOptional if the type name is not found; a non-empty optional of UserType otherwise@Nullable public UserType getNullable(java.nio.ByteBuffer name)
name - a non-qualified type nameUserType otherwisepublic Types without(java.nio.ByteBuffer name)
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2015 The Apache Software Foundation