commit | 4fea4fdaed393a797583704a16703d1b4075f8f6 | [log] [tgz] |
---|---|---|
author | Sho SHIMIZU <sshimizu@us.fujitsu.com> | Thu May 07 11:50:23 2015 -0700 |
committer | Gerrit Code Review <gerrit@onlab.us> | Thu May 07 23:55:48 2015 +0000 |
tree | 857bb3711964e139539d72f7030c7e7269c6b586 | |
parent | a5b5c3e69b72993cb2a89a2f376e05382f26e006 [diff] [blame] |
Populate IndexedLambda with LambdaResource Change-Id: Id809f3a55b7c89bab2e4e99c0447ae97f27f5557
diff --git a/core/api/src/main/java/org/onosproject/net/IndexedLambda.java b/core/api/src/main/java/org/onosproject/net/IndexedLambda.java index cb7e1ae..6b5fa65 100644 --- a/core/api/src/main/java/org/onosproject/net/IndexedLambda.java +++ b/core/api/src/main/java/org/onosproject/net/IndexedLambda.java
@@ -26,10 +26,12 @@ /** * Creates an instance representing the wavelength specified by the given index number. + * It is recommended to use {@link Lambda#indexedLambda(long)} unless you want to use the + * concrete type, IndexedLambda, directly. * * @param index index number of wavelength */ - IndexedLambda(long index) { + public IndexedLambda(long index) { this.index = index; }