reformatted all src files (#141)

This commit is contained in:
YoungOnion
2022-09-17 05:08:02 -06:00
committed by GitHub
parent 3328bfcda2
commit 9011273229
1056 changed files with 88127 additions and 110597 deletions
@@ -19,43 +19,37 @@
package appeng.util;
import appeng.api.util.IReadOnlyCollection;
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( (T) node );
}
@Override
public boolean contains(final Object node) {
return this.c.contains((T) node);
}
}