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 programContext)
This will return the qualified name of the type given the program 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) |
getProgramName, itemDescriptor, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getQualifiedName
public PSet(PDescriptorProvider itemType, net.morimekta.providence.descriptor.PSet.BuilderFactory<Item> builderFactory)
public String getName()
PDescriptor
public String getQualifiedName(String programContext)
PDescriptor
programContext
- The program which the type 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–2017 morimekta.net. All rights reserved.