Package org.eclipse.jgit.revwalk
Class RevFlagSet
Multiple application level mark bits for
RevObject
s.- 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, removeAll
Methods inherited from class java.util.AbstractCollection
addAll, clear, isEmpty, retainAll, toArray, toArray, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream
-
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:
contains
in interfaceCollection<RevFlag>
- Specified by:
contains
in interfaceSet<RevFlag>
- Overrides:
contains
in classAbstractCollection<RevFlag>
-
containsAll
- Specified by:
containsAll
in interfaceCollection<RevFlag>
- Specified by:
containsAll
in interfaceSet<RevFlag>
- Overrides:
containsAll
in classAbstractCollection<RevFlag>
-
add
- Specified by:
add
in interfaceCollection<RevFlag>
- Specified by:
add
in interfaceSet<RevFlag>
- Overrides:
add
in classAbstractCollection<RevFlag>
-
remove
- Specified by:
remove
in interfaceCollection<RevFlag>
- Specified by:
remove
in interfaceSet<RevFlag>
- Overrides:
remove
in classAbstractCollection<RevFlag>
-
iterator
-
size
public int size()- Specified by:
size
in interfaceCollection<RevFlag>
- Specified by:
size
in interfaceSet<RevFlag>
- Specified by:
size
in classAbstractCollection<RevFlag>
-