Skip to content

Commit

Permalink
modify iterators
Browse files Browse the repository at this point in the history
  • Loading branch information
Shawn committed May 11, 2020
1 parent a995e02 commit fcdcd78
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace Neo.SmartContract.Enumerators
{
internal class ConcatenatedEnumerator : IEnumerator
public class ConcatenatedEnumerator : IEnumerator
{
private readonly IEnumerator first, second;
private IEnumerator current;
Expand Down
2 changes: 1 addition & 1 deletion src/neo/SmartContract/Enumerators/IEnumerator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

namespace Neo.SmartContract.Enumerators
{
internal interface IEnumerator : IDisposable
public interface IEnumerator : IDisposable
{
bool Next();
StackItem Value();
Expand Down
2 changes: 1 addition & 1 deletion src/neo/SmartContract/Enumerators/IteratorKeysWrapper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

namespace Neo.SmartContract.Enumerators
{
internal class IteratorKeysWrapper : IEnumerator
public class IteratorKeysWrapper : IEnumerator
{
private readonly IIterator iterator;

Expand Down
2 changes: 1 addition & 1 deletion src/neo/SmartContract/Enumerators/IteratorValuesWrapper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

namespace Neo.SmartContract.Enumerators
{
internal class IteratorValuesWrapper : IEnumerator
public class IteratorValuesWrapper : IEnumerator
{
private readonly IIterator iterator;

Expand Down
2 changes: 1 addition & 1 deletion src/neo/SmartContract/Iterators/ArrayWrapper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace Neo.SmartContract.Iterators
{
internal class ArrayWrapper : IIterator
public class ArrayWrapper : IIterator
{
private readonly IReadOnlyList<StackItem> array;
private int index = -1;
Expand Down
2 changes: 1 addition & 1 deletion src/neo/SmartContract/Iterators/ByteArrayWrapper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

namespace Neo.SmartContract.Iterators
{
internal class ByteArrayWrapper : IIterator
public class ByteArrayWrapper : IIterator
{
private readonly byte[] array;
private int index = -1;
Expand Down
2 changes: 1 addition & 1 deletion src/neo/SmartContract/Iterators/ConcatenatedIterator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace Neo.SmartContract.Iterators
{
internal class ConcatenatedIterator : IIterator
public class ConcatenatedIterator : IIterator
{
private readonly IIterator first, second;
private IIterator current;
Expand Down
2 changes: 1 addition & 1 deletion src/neo/SmartContract/Iterators/IIterator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

namespace Neo.SmartContract.Iterators
{
internal interface IIterator : IEnumerator
public interface IIterator : IEnumerator
{
PrimitiveType Key();
}
Expand Down
2 changes: 1 addition & 1 deletion src/neo/SmartContract/Iterators/MapWrapper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

namespace Neo.SmartContract.Iterators
{
internal class MapWrapper : IIterator
public class MapWrapper : IIterator
{
private readonly IEnumerator<KeyValuePair<PrimitiveType, StackItem>> enumerator;

Expand Down
2 changes: 1 addition & 1 deletion src/neo/SmartContract/Iterators/StorageIterator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace Neo.SmartContract.Iterators
{
internal class StorageIterator : IIterator
public class StorageIterator : IIterator
{
private readonly IEnumerator<(StorageKey Key, StorageItem Value)> enumerator;

Expand Down

0 comments on commit fcdcd78

Please sign in to comment.