Package org.eclipse.jgit.revwalk
Class RevFlagSet
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractSet<RevFlag>
-
- org.eclipse.jgit.revwalk.RevFlagSet
-
-
Constructor Summary
Constructors Constructor Description RevFlagSet()Create an empty set of flags.RevFlagSet(java.util.Collection<RevFlag> s)Create a set of flags, copied from an existing collection.RevFlagSet(RevFlagSet s)Create a set of flags, copied from an existing set.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanadd(RevFlag flag)booleancontains(java.lang.Object o)booleancontainsAll(java.util.Collection<?> c)java.util.Iterator<RevFlag>iterator()booleanremove(java.lang.Object o)intsize()-
Methods inherited from class java.util.AbstractCollection
addAll, clear, isEmpty, retainAll, toArray, toArray, toString
-
-
-
-
Field Detail
-
mask
int mask
-
active
private final java.util.List<RevFlag> active
-
-
Constructor Detail
-
RevFlagSet
public RevFlagSet()
Create an empty set of flags.
-
RevFlagSet
public RevFlagSet(RevFlagSet s)
Create a set of flags, copied from an existing set.- Parameters:
s- the set to copy flags from.
-
RevFlagSet
public RevFlagSet(java.util.Collection<RevFlag> s)
Create a set of flags, copied from an existing collection.- Parameters:
s- the collection to copy flags from.
-
-