com.thomsonreuters.ema.access.EmaIterator Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ema Show documentation
Show all versions of ema Show documentation
Elektron Message API (EMA) Java Edition
///*|-----------------------------------------------------------------------------
// *| This source code is provided under the Apache 2.0 license --
// *| and is provided AS IS with no warranty or guarantee of fit for purpose. --
// *| See the project's LICENSE.md for details. --
// *| Copyright (C) 2019 Refinitiv. All rights reserved. --
///*|-----------------------------------------------------------------------------
package com.thomsonreuters.ema.access;
import java.util.Iterator;
class EmaIterator implements Iterator
{
private Iterator _iterator;
EmaIterator(Iterator iterator)
{
_iterator = iterator;
}
@Override
public boolean hasNext()
{
return _iterator.hasNext();
}
@Override
public E next()
{
return _iterator.next();
}
@Override
public void remove()
{
throw new UnsupportedOperationException("EMA collection iterator doesn't support this operation.");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy