java.lang.Object
net.fortuna.ical4j.model.PropertyList
- All Implemented Interfaces:
Serializable,Comparable<PropertyList>,ContentCollection<Property>
public class PropertyList
extends Object
implements ContentCollection<Property>, Comparable<PropertyList>
$Id$ [Apr 5, 2004]
Accessor implementation for a list of iCalendar properties.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.PropertyList(@NotNull List<Property> properties) Creates an unmodifiable copy of the specified property list. -
Method Summary
Modifier and TypeMethodDescriptionaddAll(@NotNull Collection<Property> content) intbooleangetAll()getProperties(String name) Deprecated.getProperty(String aName) 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
-
PropertyList
public PropertyList()Default constructor. -
PropertyList
Creates an unmodifiable copy of the specified property list.- Parameters:
properties- a property list
-
-
Method Details
-
add
- Specified by:
addin interfaceContentCollection<Property>
-
addAll
- Specified by:
addAllin interfaceContentCollection<Property>
-
remove
- Specified by:
removein interfaceContentCollection<Property>
-
removeAll
- Specified by:
removeAllin interfaceContentCollection<Property>
-
removeIf
- Specified by:
removeIfin interfaceContentCollection<Property>
-
replace
- Specified by:
replacein interfaceContentCollection<Property>
-
getAll
- Specified by:
getAllin interfaceContentCollection<Property>
-
toString
-
getProperty
Deprecated.Returns the first property of specified name.- Parameters:
aName- name of property to return- Returns:
- a property or null if no matching property found
-
getProperties
Deprecated.Returns a list of properties with the specified name.- Parameters:
name- name of properties to return- Returns:
- a property list
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<PropertyList>
-
ContentCollection.get(String...)