public class RevFlagSet extends AbstractSet<RevFlag>
RevObjects.RevFlag| Constructor and Description |
|---|
RevFlagSet()
Create an empty set of flags.
|
RevFlagSet(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.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(RevFlag flag) |
boolean |
contains(Object o) |
boolean |
containsAll(Collection<?> c) |
Iterator<RevFlag> |
iterator() |
boolean |
remove(Object o) |
int |
size() |
equals, hashCode, removeAlladdAll, clear, isEmpty, retainAll, toArray, toArray, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddAll, clear, isEmpty, retainAll, spliterator, toArray, toArrayparallelStream, removeIf, streampublic RevFlagSet()
public RevFlagSet(RevFlagSet s)
s - the set to copy flags from.public RevFlagSet(Collection<RevFlag> s)
s - the collection to copy flags from.public boolean contains(Object o)
contains in interface Collection<RevFlag>contains in interface Set<RevFlag>contains in class AbstractCollection<RevFlag>public boolean containsAll(Collection<?> c)
containsAll in interface Collection<RevFlag>containsAll in interface Set<RevFlag>containsAll in class AbstractCollection<RevFlag>public boolean add(RevFlag flag)
add in interface Collection<RevFlag>add in interface Set<RevFlag>add in class AbstractCollection<RevFlag>public boolean remove(Object o)
remove in interface Collection<RevFlag>remove in interface Set<RevFlag>remove in class AbstractCollection<RevFlag>public int size()
size in interface Collection<RevFlag>size in interface Set<RevFlag>size in class AbstractCollection<RevFlag>Copyright © 2020 Eclipse JGit Project. All rights reserved.