org.eclipse.jgit.revwalk.RevObject s.
RevFlag
| Access | Constructor and Description |
|---|---|
| public | |
| public | RevFlagSet(RevFlagSet
the set to copy flags from. s)Create a set of flags, copied from an existing set. |
| public | RevFlagSet(Collection<RevFlag>
the collection to copy flags from. s)Create a set of flags, copied from an existing collection. |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | add(RevFlag
element to be added to this set flag)Overrides java. Implements java. Adds the specified element to this set if it is not already present (optional operation). |
| public boolean | contains(Object
element whose presence in this set is to be tested o)Overrides java. Implements java. Returns |
| public boolean | containsAll(Collection<?>
collection to be checked for containment in this set c)Overrides java. Implements java. Returns |
| public Iterator | iterator()
Implements abstract java. Implements java. Returns an iterator over the elements in this set. |
| public boolean | remove(Object
object to be removed from this set, if present o)Overrides java. Implements java. Removes the specified element from this set if it is present (optional operation). |
| public int | size()
Implements abstract java. Implements java. Returns the number of elements in this set (its cardinality). |
| active | back to summary |
|---|---|
| private final List<RevFlag> active | |
| mask | back to summary |
|---|---|
| pack-priv int mask | |
| RevFlagSet | back to summary |
|---|---|
| public RevFlagSet() Create an empty set of flags. | |
| RevFlagSet | back to summary |
|---|---|
| public RevFlagSet(RevFlagSet s) Create a set of flags, copied from an existing set.
| |
| RevFlagSet | back to summary |
|---|---|
| public RevFlagSet(Collection<RevFlag> s) Create a set of flags, copied from an existing collection.
| |
| add | back to summary |
|---|---|
| public boolean add(RevFlag flag) Overrides java. Implements java. Doc from java. Adds the specified element to this set if it is not already present
(optional operation). More formally, adds the specified element
The stipulation above does not imply that sets must accept all
elements; sets may refuse to add any particular element, including
| |
| contains | back to summary |
|---|---|
| public boolean contains(Object o) Overrides java. Implements java. Doc from java. Returns | |
| containsAll | back to summary |
|---|---|
| public boolean containsAll(Collection<?> c) Overrides java. Implements java. Doc from java. Returns
| |
| iterator | back to summary |
|---|---|
| public Iterator Implements abstract java. Implements java. Doc from java. Returns an iterator over the elements in this set. The elements are returned in no particular order (unless this set is an instance of some class that provides a guarantee). | |
| remove | back to summary |
|---|---|
| public boolean remove(Object o) Overrides java. Implements java. Doc from java. Removes the specified element from this set if it is present
(optional operation). More formally, removes an element | |
| size | back to summary |
|---|---|
| public int size() Implements abstract java. Implements java. Doc from java. Returns the number of elements in this set (its cardinality). If this
set contains more than
| |