public class RevFlagSet extends AbstractSet<RevFlag>
RevObject
s.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, removeAll
addAll, clear, isEmpty, retainAll, toArray, toArray, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
addAll, clear, isEmpty, retainAll, spliterator, toArray, toArray
parallelStream, removeIf, stream
public 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 © 2017 Eclipse JGit Project. All rights reserved.