@PublicApi public class SchemaElementChildrenContainer extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
SchemaElementChildrenContainer.Builder |
Modifier and Type | Method and Description |
---|---|
<T extends GraphQLSchemaElement> |
getChildOrNull(java.lang.String key) |
java.util.Map<java.lang.String,java.util.List<GraphQLSchemaElement>> |
getChildren() |
<T extends GraphQLSchemaElement> |
getChildren(java.lang.String key) |
java.util.List<GraphQLSchemaElement> |
getChildrenAsList() |
boolean |
isEmpty() |
static SchemaElementChildrenContainer.Builder |
newSchemaElementChildrenContainer() |
static SchemaElementChildrenContainer.Builder |
newSchemaElementChildrenContainer(java.util.Map<java.lang.String,? extends java.util.List<? extends GraphQLSchemaElement>> childrenMap) |
static SchemaElementChildrenContainer.Builder |
newSchemaElementChildrenContainer(SchemaElementChildrenContainer existing) |
SchemaElementChildrenContainer |
transform(java.util.function.Consumer<SchemaElementChildrenContainer.Builder> builderConsumer) |
public <T extends GraphQLSchemaElement> java.util.List<T> getChildren(java.lang.String key)
public <T extends GraphQLSchemaElement> T getChildOrNull(java.lang.String key)
public java.util.Map<java.lang.String,java.util.List<GraphQLSchemaElement>> getChildren()
public java.util.List<GraphQLSchemaElement> getChildrenAsList()
public static SchemaElementChildrenContainer.Builder newSchemaElementChildrenContainer()
public static SchemaElementChildrenContainer.Builder newSchemaElementChildrenContainer(java.util.Map<java.lang.String,? extends java.util.List<? extends GraphQLSchemaElement>> childrenMap)
public static SchemaElementChildrenContainer.Builder newSchemaElementChildrenContainer(SchemaElementChildrenContainer existing)
public SchemaElementChildrenContainer transform(java.util.function.Consumer<SchemaElementChildrenContainer.Builder> builderConsumer)
public boolean isEmpty()