@NotThreadSafe public class StandardProperties<V> extends PropertiesSupport<V>
| Type | Property and Description |
|---|---|
protected java.util.Map<java.lang.String,Property<V>> |
idTo |
| Constructor and Description |
|---|
StandardProperties() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(Property<? extends V> property) |
boolean |
contains(java.lang.String id) |
Property<V> |
get(java.lang.String id) |
protected java.lang.Iterable<? extends Property<V>> |
getProperties() |
protected java.util.Map<java.lang.String,Property<V>> |
idToProperty() |
static <V> StandardProperties<V> |
properties(Property<V>... properties) |
void |
remove(java.lang.String id) |
StandardProperties<V> |
withAnnotations(Annotation... annotations) |
StandardProperties<V> |
withAnnotations(java.lang.Iterable<? extends Annotation> annotations) |
StandardProperties<V> |
withProperties(java.lang.Iterable<? extends Property<? extends V>> properties) |
StandardProperties<V> |
withProperties(Property<?>... properties) |
equals, getKeysOf, hashCode, iterator, toStringaddAnnotation, addAnnotations, addAnnotations, annotations, annotations, removeAnnotation, removeAnnotationsclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddAnnotation, annotations, annotations, removeAnnotation, removeAnnotations@Nonnull public static <V> StandardProperties<V> properties(@Nullable Property<V>... properties)
public boolean contains(@Nonnull
java.lang.String id)
public void remove(@Nonnull
java.lang.String id)
@Nonnull protected java.lang.Iterable<? extends Property<V>> getProperties()
getProperties in class PropertiesSupport<V>@Nonnull public StandardProperties<V> withAnnotations(@Nullable Annotation... annotations)
@Nonnull public StandardProperties<V> withAnnotations(@Nullable java.lang.Iterable<? extends Annotation> annotations)
@Nonnull public StandardProperties<V> withProperties(@Nullable Property<?>... properties)
@Nonnull public StandardProperties<V> withProperties(@Nullable java.lang.Iterable<? extends Property<? extends V>> properties)
Copyright © 2015 echocat. All Rights Reserved.