Modifier and Type | Method and Description |
---|---|
Rate |
add(Date ratesFrom)
Adds a new
Rate instance to this collection. |
int |
getCount()
Returns the number of elements contained in the RateCollection.
|
Resource |
getParentResource()
Returns parent
Resource object for this collection. |
Iterator<Rate> |
iterator() |
boolean |
remove(Rate item)
Removes Rate instance from this collection.
|
List<Rate> |
toList()
Converts the RateCollection object to a list of
Rate objects. |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public Rate add(Date ratesFrom)
Adds a new Rate
instance to this collection.
ratesFrom
- The date the new rate comes into effect.Rate
instance.public boolean remove(Rate item)
Removes Rate instance from this collection.
item
- Rate
instance to remove.public List<Rate> toList()
Converts the RateCollection object to a list of Rate
objects.
Rate
objects.public int getCount()
Returns the number of elements contained in the RateCollection.
Read-only int
.
public Resource getParentResource()
Returns parent Resource
object for this collection.
Resource
instance which is parent for this object.
Read-only Resource
object.
Copyright (c) 2008-2015 Aspose Pty Ltd. All Rights Reserved.