Package org.onosproject.net.group
Class GroupBuckets
- java.lang.Object
-
- org.onosproject.net.group.GroupBuckets
-
public final class GroupBuckets extends Object
Immutable collection of group bucket.
-
-
Constructor Summary
Constructors Constructor Description GroupBuckets(List<GroupBucket> buckets)
Creates a immutable list of group bucket.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<GroupBucket>
buckets()
Returns immutable list of group buckets.boolean
equals(Object obj)
int
hashCode()
String
toString()
-
-
-
Constructor Detail
-
GroupBuckets
public GroupBuckets(List<GroupBucket> buckets)
Creates a immutable list of group bucket.- Parameters:
buckets
- list of group bucket
-
-
Method Detail
-
buckets
public List<GroupBucket> buckets()
Returns immutable list of group buckets.- Returns:
- list of group bucket
-
-