
com.artclod.common.collect.base.BaseFSet Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of functional-collections Show documentation
Show all versions of functional-collections Show documentation
FCollections is a series of function style Java Collections
package com.artclod.common.collect.base;
import static com.google.common.base.Preconditions.checkNotNull;
import java.util.Set;
import com.artclod.common.collect.FSet;
import com.artclod.common.collect.GuavaImFSet;
import com.google.common.collect.ImmutableSet;
public abstract class BaseFSet> extends BaseFColletion implements FSet {
private static final long serialVersionUID = 1L;
final Set inner;
public BaseFSet(Set inner) {
super(inner);
this.inner = checkNotNull(inner);
}
// ============ FLIST METHODS (or support) =========
public GuavaImFSet toIm(){
return new GuavaImFSet(ImmutableSet.copyOf(this));
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy