java.lang.Object
net.fortuna.ical4j.model.ParameterList
- All Implemented Interfaces:
Serializable,Comparable<ParameterList>,ContentCollection<Parameter>
public class ParameterList
extends Object
implements ContentCollection<Parameter>, Comparable<ParameterList>
$Id$ [Apr 5, 2004]
Accessor implementation for a list of iCalendar parameters.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.ParameterList(@NotNull List<Parameter> list) Creates an unmodifiable copy of the specified parameter list. -
Method Summary
Modifier and TypeMethodDescriptionaddAll(@NotNull Collection<Parameter> content) intbooleangetAll()getParameter(String aName) Deprecated.final ParameterListgetParameters(String name) Deprecated.inthashCode()final StringtoString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.fortuna.ical4j.model.ContentCollection
get, getFirst, getRequired
-
Constructor Details
-
ParameterList
public ParameterList()Default constructor. Creates an empty parameter list. -
ParameterList
Creates an unmodifiable copy of the specified parameter list.- Parameters:
list- a parameter list to copy parameters from
-
-
Method Details
-
add
- Specified by:
addin interfaceContentCollection<Parameter>
-
addAll
- Specified by:
addAllin interfaceContentCollection<Parameter>
-
remove
- Specified by:
removein interfaceContentCollection<Parameter>
-
removeAll
- Specified by:
removeAllin interfaceContentCollection<Parameter>
-
removeIf
- Specified by:
removeIfin interfaceContentCollection<Parameter>
-
replace
- Specified by:
replacein interfaceContentCollection<Parameter>
-
getAll
- Specified by:
getAllin interfaceContentCollection<Parameter>
-
toString
-
getParameter
Deprecated.Returns the first parameter with the specified name.- Parameters:
aName- name of the parameter- Returns:
- the first matching parameter or null if no matching parameters
-
getParameters
Deprecated.Returns a list of parameters with the specified name.- Parameters:
name- name of parameters to return- Returns:
- a parameter list
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<ParameterList>
-
ContentCollection.getFirst(String)