public class PList<Item> extends PContainer<List<Item>>
Modifier and Type | Class and Description |
---|---|
static interface |
PList.Builder<I> |
static class |
PList.ImmutableListBuilder<I> |
Constructor and Description |
---|
PList(PDescriptorProvider itemType,
net.morimekta.providence.descriptor.PList.BuilderFactory<Item> builderFactory) |
Modifier and Type | Method and Description |
---|---|
PList.Builder<Item> |
builder()
Get an instance builder for the container.
|
boolean |
equals(Object o) |
String |
getName()
The name of the type is the Identifier string from the IDL.
|
String |
getQualifiedName(String programContext)
This will return the qualified name of the type given the program context.
|
PType |
getType() |
int |
hashCode() |
static <I> PContainerProvider<List<I>,PList<I>> |
provider(PDescriptorProvider itemDesc) |
static <I> PContainerProvider<List<I>,PList<I>> |
provider(PDescriptorProvider itemDesc,
net.morimekta.providence.descriptor.PList.BuilderFactory<I> builderFactory) |
getProgramName, itemDescriptor, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getQualifiedName
public PList(PDescriptorProvider itemType, net.morimekta.providence.descriptor.PList.BuilderFactory<Item> builderFactory)
@Nonnull public String getName()
PDescriptor
@Nonnull public String getQualifiedName(String programContext)
PDescriptor
programContext
- The program which the type should be referenced from.public PList.Builder<Item> builder()
PContainer
builder
in class PContainer<List<Item>>
public static <I> PContainerProvider<List<I>,PList<I>> provider(PDescriptorProvider itemDesc)
public static <I> PContainerProvider<List<I>,PList<I>> provider(PDescriptorProvider itemDesc, net.morimekta.providence.descriptor.PList.BuilderFactory<I> builderFactory)
Copyright © 2015–2017 morimekta.net. All rights reserved.