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
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 © 2016 Eclipse JGit Project. All rights reserved.