public class WorkingTimeCollection extends Object implements Iterable<WorkingTime>
Represents a collection of WorkingTimeCollection
objects.
Modifier and Type | Method and Description |
---|---|
boolean |
add(WorkingTime wt)
Adds a new WorkingTime instance to this collection.
|
int |
getCount()
Returns the number of objects contained in this
WorkingTimeCollection object. |
Iterator<WorkingTime> |
iterator() |
boolean |
remove(WorkingTime wt)
Removes
WorkingTime instance from this collection. |
List<WorkingTime> |
toList()
Converts the WorkingTimeCollection object to a list of
WorkingTime objects. |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public boolean add(WorkingTime wt)
Adds a new WorkingTime instance to this collection.
wt
- WorkingTime
instance to add.public boolean remove(WorkingTime wt)
Removes WorkingTime
instance from this collection.
wt
- WorkingTime
instance to remove.public int getCount()
Returns the number of objects contained in this WorkingTimeCollection
object.
Read only int
.
public List<WorkingTime> toList()
Converts the WorkingTimeCollection object to a list of WorkingTime
objects.
WorkingTime
objects.public Iterator<WorkingTime> iterator()
iterator
in interface Iterable<WorkingTime>
Copyright (c) 2008-2015 Aspose Pty Ltd. All Rights Reserved.