public class ArrayProperties extends AbstractProperties
Properties.Property<T>, Properties.PropertyListener
Modifier and Type | Field and Description |
---|---|
private java.lang.Object[] |
data |
Constructor and Description |
---|
ArrayProperties() |
ArrayProperties(ArrayProperties original) |
ArrayProperties(int initialSize) |
Modifier and Type | Method and Description |
---|---|
Properties |
clone() |
private void |
ensurePresent(int number) |
<T> T |
get(Properties.Property<T> property) |
<T> void |
put(Properties.Property<T> property,
T value) |
<T> void |
remove(Properties.Property<T> property) |
int |
size() |
java.lang.String |
toString() |
addPropertyListener, firePropertyChange, removePropertyListener, removePropertyListener
public ArrayProperties()
public ArrayProperties(int initialSize)
public ArrayProperties(ArrayProperties original)
public <T> void put(Properties.Property<T> property, T value)
private void ensurePresent(int number)
public <T> T get(Properties.Property<T> property)
public java.lang.String toString()
toString
in class java.lang.Object
public <T> void remove(Properties.Property<T> property)
public Properties clone()
clone
in interface Properties
clone
in class AbstractProperties
public int size()