blob: 64b2af8c7d88d713c007d3ed89b583ce6793b96f [file] [log] [blame]
Jonathan Hart1530ccc2013-04-03 19:36:02 -07001package net.onrc.onos.registry.controller;
2
3public class IdBlock {
4 private long start;
5 private long end;
6 private long size;
7
8 public IdBlock(long start, long end, long size) {
9 this.start = start;
10 this.end = end;
11 this.size = size;
12 }
13
14 public long getStart() {
15 return start;
16 }
17
18 public long getEnd() {
19 return end;
20 }
21
22 public long getSize() {
23 return size;
24 }
25
26 @Override
27 public String toString() {
28 return "IdBlock [start=" + start + ", end=" + end + ", size=" + size
29 + "]";
30 }
31}