public class PSet<Item> extends PContainer<Set<Item>>
Modifier and Type | Class and Description |
---|---|
static interface |
PSet.Builder<I> |
static class |
PSet.ImmutableSetBuilder<I> |
static class |
PSet.ImmutableSortedSetBuilder<I extends Comparable<I>> |
static class |
PSet.LinkedHashSetBuilder<I> |
Constructor and Description |
---|
PSet(PDescriptorProvider itemType,
net.morimekta.providence.descriptor.PSet.BuilderFactory<Item> builderFactory) |
Modifier and Type | Method and Description |
---|---|
PSet.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 extends Comparable<I>> |
orderedProvider(PDescriptorProvider itemDesc) |
static <I> PContainerProvider<Set<I>,PSet<I>> |
provider(PDescriptorProvider itemDesc) |
static <I extends Comparable<I>> |
sortedProvider(PDescriptorProvider itemDesc) |
getPackageName, itemDescriptor, toString
public PSet(PDescriptorProvider itemType, net.morimekta.providence.descriptor.PSet.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 PSet.Builder<Item> builder()
PContainer
builder
in class PContainer<Set<Item>>
public static <I> PContainerProvider<Set<I>,PSet<I>> provider(PDescriptorProvider itemDesc)
public static <I extends Comparable<I>> PContainerProvider<Set<I>,PSet<I>> sortedProvider(PDescriptorProvider itemDesc)
public static <I extends Comparable<I>> PContainerProvider<Set<I>,PSet<I>> orderedProvider(PDescriptorProvider itemDesc)
Copyright © 2015–2016 morimekta.net. All rights reserved.