Toggle navigation
Toggle navigation
This project
Loading...
Sign in
홍길동
/
onos
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
Sho SHIMIZU
2015-11-24 14:41:20 -0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
e5524561f44a8d16b113e8e7b6e27df6625feb46
e5524561
1 parent
2e835165
Fix Javadoc warnings
Change-Id: If6ced93d6fc91c1b6fc8381b26fde9434de6d7c8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
core/api/src/main/java/org/onosproject/net/newresource/ResourcePath.java
core/api/src/main/java/org/onosproject/net/newresource/ResourcePath.java
View file @
e552456
...
...
@@ -56,6 +56,7 @@ public abstract class ResourcePath {
* Creates an resource path which represents a discrete-type resource from the specified components.
*
* @param components components of the path. The order represents hierarchical structure of the resource.
* @return resource path instance
*/
public
static
ResourcePath
discrete
(
Object
...
components
)
{
if
(
components
.
length
==
0
)
{
...
...
@@ -70,6 +71,7 @@ public abstract class ResourcePath {
*
* @param value amount of the resource
* @param components components of the path. The order represents hierarchical structure of the resource.
* @return resource path instance
*/
public
static
ResourcePath
continuous
(
double
value
,
Object
...
components
)
{
return
new
Continuous
(
ImmutableList
.
copyOf
(
components
),
value
);
...
...
Please
register
or
login
to post a comment