Toshio Koide | 4f30873 | 2014-02-18 15:19:48 -0800 | [diff] [blame] | 1 | package net.onrc.onos.intent; |
2 | |||||
3 | import java.util.ArrayList; | ||||
4 | |||||
5 | public class IntentOperationList extends ArrayList<IntentOperation> { | ||||
6 | private static final long serialVersionUID = -3894081461861052610L; | ||||
Toshio Koide | 27ffd41 | 2014-02-18 19:15:27 -0800 | [diff] [blame] | 7 | |
8 | public boolean add(IntentOperation.Operator op, Intent intent) { | ||||
9 | return add(new IntentOperation(op, intent)); | ||||
10 | } | ||||
Toshio Koide | 4f30873 | 2014-02-18 15:19:48 -0800 | [diff] [blame] | 11 | } |