com.unit16.z.indexed.Empty Maven / Gradle / Ivy
package com.unit16.z.indexed;
import java.util.Iterator;
import com.google.common.collect.ImmutableSet;
final class Empty
extends DSL
{
@Override
public M get(int i) { throw new ArrayIndexOutOfBoundsException(i); }
@Override
public int size() { return 0; }
@Override
public Iterator iterator() { return ImmutableSet.of().iterator(); }
}