Annotate overrides
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2804 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
@@ -148,7 +148,7 @@ public class HashIntSet extends AbstractIntSet
|
|||||||
// we shouldn't get here
|
// we shouldn't get here
|
||||||
throw new RuntimeException("Ran out of elements getting next");
|
throw new RuntimeException("Ran out of elements getting next");
|
||||||
}
|
}
|
||||||
public void remove () {
|
@Override public void remove () {
|
||||||
checkConcurrentModification();
|
checkConcurrentModification();
|
||||||
if (_idx == 0) {
|
if (_idx == 0) {
|
||||||
throw new IllegalStateException("Next method not yet called");
|
throw new IllegalStateException("Next method not yet called");
|
||||||
|
|||||||
@@ -25,11 +25,13 @@ import com.samskivert.util.ArrayIntSet;
|
|||||||
|
|
||||||
public class ArrayIntSetTest extends IntSetTestBase
|
public class ArrayIntSetTest extends IntSetTestBase
|
||||||
{
|
{
|
||||||
|
@Override
|
||||||
protected AbstractIntSet createSet ()
|
protected AbstractIntSet createSet ()
|
||||||
{
|
{
|
||||||
return new ArrayIntSet();
|
return new ArrayIntSet();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
protected AbstractIntSet createSet (int[] values)
|
protected AbstractIntSet createSet (int[] values)
|
||||||
{
|
{
|
||||||
return new ArrayIntSet(values);
|
return new ArrayIntSet(values);
|
||||||
|
|||||||
@@ -25,11 +25,13 @@ import com.samskivert.util.HashIntSet;
|
|||||||
|
|
||||||
public class HashIntSetTest extends IntSetTestBase
|
public class HashIntSetTest extends IntSetTestBase
|
||||||
{
|
{
|
||||||
|
@Override
|
||||||
protected AbstractIntSet createSet ()
|
protected AbstractIntSet createSet ()
|
||||||
{
|
{
|
||||||
return new HashIntSet();
|
return new HashIntSet();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
protected AbstractIntSet createSet (int[] values)
|
protected AbstractIntSet createSet (int[] values)
|
||||||
{
|
{
|
||||||
return new HashIntSet(values);
|
return new HashIntSet(values);
|
||||||
|
|||||||
Reference in New Issue
Block a user