T - the type parameterpublic abstract class AbstractIntegerSet<T extends IntegerIndex> extends Object implements IntegerSet<T>
| Constructor and Description |
|---|
AbstractIntegerSet() |
| Modifier and Type | Method and Description |
|---|---|
T |
add()
Add t.
|
T |
add(Integer index)
Add t.
|
T |
get(Integer index)
Get t.
|
Integer |
getMaxIndex()
Gets max index.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateItemprotected Set<T extends IntegerIndex> set
public T add()
IntegerSetadd in interface IntegerSet<T extends IntegerIndex>public T add(Integer index)
IntegerSetadd in interface IntegerSet<T extends IntegerIndex>index - the indexpublic T get(Integer index)
IntegerSetget in interface IntegerSet<T extends IntegerIndex>index - the indexpublic Integer getMaxIndex()
IntegerSetgetMaxIndex in interface IntegerSet<T extends IntegerIndex>Copyright © 2018. All rights reserved.