@@ -293,6 +293,7 @@ public class BlockIterator implements Iterator<Block> {
|
||||
* Returns true if the iteration has more elements
|
||||
*/
|
||||
|
||||
@Override
|
||||
public boolean hasNext() {
|
||||
scan();
|
||||
return currentBlock != -1;
|
||||
@@ -303,6 +304,7 @@ public class BlockIterator implements Iterator<Block> {
|
||||
*
|
||||
* @return the next Block in the trace
|
||||
*/
|
||||
@Override
|
||||
@NotNull
|
||||
public Block next() throws NoSuchElementException {
|
||||
scan();
|
||||
@@ -313,6 +315,7 @@ public class BlockIterator implements Iterator<Block> {
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void remove() {
|
||||
throw new UnsupportedOperationException("[BlockIterator] doesn't support block removal");
|
||||
}
|
||||
|
||||
@@ -846,6 +846,7 @@ public class Vector implements Cloneable, ConfigurationSerializable {
|
||||
return new Vector(random.nextDouble(), random.nextDouble(), random.nextDouble());
|
||||
}
|
||||
|
||||
@Override
|
||||
@NotNull
|
||||
public Map<String, Object> serialize() {
|
||||
Map<String, Object> result = new LinkedHashMap<String, Object>();
|
||||
|
||||
Reference in New Issue
Block a user