pick 97420a31d The big reformat of 2020

This commit is contained in:
yueh
2020-06-16 21:41:28 +02:00
parent 5304b3febe
commit 5225ea426b
2252 changed files with 95466 additions and 118582 deletions
@@ -18,44 +18,36 @@
package appeng.util;
import java.util.Collection;
import java.util.Iterator;
import appeng.api.util.IReadOnlyCollection;
public class ReadOnlyCollection<T> implements IReadOnlyCollection<T> {
public class ReadOnlyCollection<T> implements IReadOnlyCollection<T>
{
private final Collection<T> c;
private final Collection<T> c;
public ReadOnlyCollection(final Collection<T> in) {
this.c = in;
}
public ReadOnlyCollection( final Collection<T> in )
{
this.c = in;
}
@Override
public Iterator<T> iterator() {
return this.c.iterator();
}
@Override
public Iterator<T> iterator()
{
return this.c.iterator();
}
@Override
public int size() {
return this.c.size();
}
@Override
public int size()
{
return this.c.size();
}
@Override
public boolean isEmpty() {
return this.c.isEmpty();
}
@Override
public boolean isEmpty()
{
return this.c.isEmpty();
}
@Override
public boolean contains( final Object node )
{
return this.c.contains( node );
}
@Override
public boolean contains(final Object node) {
return this.c.contains(node);
}
}