|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.fortuna.ical4j.model.ParameterList
Defines a list of iCalendar parameters. A parameter list may be specified as unmodifiable at instantiation - useful for constant properties that you don't want modified.
Constructor Summary | |
ParameterList()
Default constructor. |
|
ParameterList(boolean unmodifiable)
Constructor. |
|
ParameterList(ParameterList list,
boolean unmodifiable)
Creates a deep copy of the specified parameter list. |
Method Summary | |
boolean |
add(Parameter parameter)
Add a parameter to the list. |
boolean |
equals(Object arg0)
Two parameter lists are equals if and only if they contain the same set of parameters. |
Parameter |
getParameter(String aName)
Returns the first parameter with the specified name. |
ParameterList |
getParameters(String name)
Returns a list of parameters with the specified name. |
int |
hashCode()
|
boolean |
isEmpty()
|
Iterator |
iterator()
|
boolean |
remove(Parameter parameter)
Remove a parameter from the list. |
boolean |
replace(Parameter parameter)
Replace any parameters of the same type with the one specified. |
int |
size()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ParameterList()
public ParameterList(boolean unmodifiable)
public ParameterList(ParameterList list, boolean unmodifiable) throws URISyntaxException
list
- a parameter list to copy parameters from
URISyntaxException
Method Detail |
public final String toString()
AbstractCollection.toString()
public final Parameter getParameter(String aName)
aName
- name of the parameter
public final ParameterList getParameters(String name)
name
- name of parameters to return
public final boolean add(Parameter parameter)
parameter
- the parameter to add
List.add(java.lang.Object)
public final boolean replace(Parameter parameter)
parameter
- parameter to add to this list in place of all others with
the same name
public final boolean isEmpty()
List.isEmpty()
public final Iterator iterator()
List.iterator()
public final boolean remove(Parameter parameter)
parameter
- the parameter to remove
List.remove(java.lang.Object)
public final int size()
List.size()
public final boolean equals(Object arg0)
Object.equals(java.lang.Object)
public final int hashCode()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |