Package org.eclipse.jgit.revwalk
Class RevFlagSet
Multiple application level mark bits for
RevObjects.- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreate an empty set of flags.Create a set of flags, copied from an existing collection.Create a set of flags, copied from an existing set. -
Method Summary
Methods inherited from class java.util.AbstractSet
equals, hashCode, removeAllMethods inherited from class java.util.AbstractCollection
addAll, clear, isEmpty, retainAll, toArray, toArray, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Field Details
-
mask
int mask -
active
-
-
Constructor Details
-
RevFlagSet
public RevFlagSet()Create an empty set of flags. -
RevFlagSet
Create a set of flags, copied from an existing set.- Parameters:
s- the set to copy flags from.
-
RevFlagSet
Create a set of flags, copied from an existing collection.- Parameters:
s- the collection to copy flags from.
-
-
Method Details
-
contains
- Specified by:
containsin interfaceCollection<RevFlag>- Specified by:
containsin interfaceSet<RevFlag>- Overrides:
containsin classAbstractCollection<RevFlag>
-
containsAll
- Specified by:
containsAllin interfaceCollection<RevFlag>- Specified by:
containsAllin interfaceSet<RevFlag>- Overrides:
containsAllin classAbstractCollection<RevFlag>
-
add
- Specified by:
addin interfaceCollection<RevFlag>- Specified by:
addin interfaceSet<RevFlag>- Overrides:
addin classAbstractCollection<RevFlag>
-
remove
- Specified by:
removein interfaceCollection<RevFlag>- Specified by:
removein interfaceSet<RevFlag>- Overrides:
removein classAbstractCollection<RevFlag>
-
iterator
-
size
public int size()- Specified by:
sizein interfaceCollection<RevFlag>- Specified by:
sizein interfaceSet<RevFlag>- Specified by:
sizein classAbstractCollection<RevFlag>
-