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 packageName)
This will return the qualifying name of the type given package 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) |
getPackageName, itemDescriptor, toString
public PList(PDescriptorProvider itemType, net.morimekta.providence.descriptor.PList.BuilderFactory<Item> builderFactory)
public String getName()
PDescriptor
public String getQualifiedName(String packageName)
PDescriptor
packageName
- The package which the name should be referenced from.public PType getType()
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–2016 morimekta.net. All rights reserved.