
public interface HjPoint extends Comparable<HjPoint>
A point variable can hold values of different ranks over its lifetime. e.g.,
HjPoint p;
p = newPoint(1);
...
p = newPoint(2, 3);
...
| Modifier and Type | Method and Description |
|---|---|
int |
get(int index)
Read the value in the point at specified rank index.
|
int |
rank()
Returns the number of elements in the Point value.
|
compareToint get(int index)
index - The index of the item to retrieveint rank()
Copyright © 2015 Rice University - Department of Computer Science. All rights reserved.