Class EnumIntegerSet<T extends Enum<T> & EnumInteger>
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractSet<T>
org.cryptomator.frontend.dokany.internal.structure.EnumIntegerSet<T>
- Type Parameters:
T- Type of enum
- All Implemented Interfaces:
Iterable<T>,Collection<T>,Set<T>
Used to store multiple enum values such as
FileSystemFeature and DokanOption.-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.util.AbstractSet
equals, hashCode, removeAllMethods inherited from class java.util.AbstractCollection
addAll, clear, contains, containsAll, isEmpty, remove, retainAll, toArray, toArrayMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Constructor Details
-
EnumIntegerSet
-
EnumIntegerSet
-
-
Method Details
-
add
-
toInt
public int toInt() -
add
- Specified by:
addin interfaceCollection<T extends Enum<T> & EnumInteger>- Specified by:
addin interfaceSet<T extends Enum<T> & EnumInteger>- Overrides:
addin classAbstractCollection<T extends Enum<T> & EnumInteger>
-
iterator
- Specified by:
iteratorin interfaceCollection<T extends Enum<T> & EnumInteger>- Specified by:
iteratorin interfaceIterable<T extends Enum<T> & EnumInteger>- Specified by:
iteratorin interfaceSet<T extends Enum<T> & EnumInteger>- Specified by:
iteratorin classAbstractCollection<T extends Enum<T> & EnumInteger>
-
size
public int size()- Specified by:
sizein interfaceCollection<T extends Enum<T> & EnumInteger>- Specified by:
sizein interfaceSet<T extends Enum<T> & EnumInteger>- Specified by:
sizein classAbstractCollection<T extends Enum<T> & EnumInteger>
-
toString
- Overrides:
toStringin classAbstractCollection<T extends Enum<T> & EnumInteger>
-