TrackingLibrary.TrackingFlags
, java.io.Serializable
, java.lang.Cloneable
, java.lang.Iterable<TrackingLibrary.TrackingFlag>
, java.util.Collection<TrackingLibrary.TrackingFlag>
, java.util.Set<TrackingLibrary.TrackingFlag>
protected static class MUDTracker.DefaultTrackingFlags extends java.util.HashSet<TrackingLibrary.TrackingFlag> implements TrackingLibrary.TrackingFlags
Modifier | Constructor | Description |
---|---|---|
protected |
DefaultTrackingFlags() |
Modifier and Type | Method | Description |
---|---|---|
boolean |
add(TrackingLibrary.TrackingFlag flag) |
|
boolean |
addAll(java.util.Collection<? extends TrackingLibrary.TrackingFlag> flags) |
|
TrackingLibrary.TrackingFlags |
copyOf() |
A copy of the tracking flags collection
|
int |
hashCode() |
|
TrackingLibrary.TrackingFlags |
minus(TrackingLibrary.TrackingFlag flag) |
Removes a new trackingflag
|
TrackingLibrary.TrackingFlags |
plus(TrackingLibrary.TrackingFlag flag) |
Adds a new trackingflag
|
TrackingLibrary.TrackingFlags |
plus(TrackingLibrary.TrackingFlags flags) |
Adds new trackingflags
|
boolean |
remove(java.lang.Object flag) |
containsAll, retainAll, toArray, toArray, toString
clear, clone, contains, isEmpty, iterator, size, spliterator
public boolean add(TrackingLibrary.TrackingFlag flag)
add
in interface java.util.Collection<TrackingLibrary.TrackingFlag>
add
in interface java.util.Set<TrackingLibrary.TrackingFlag>
add
in class java.util.HashSet<TrackingLibrary.TrackingFlag>
public boolean addAll(java.util.Collection<? extends TrackingLibrary.TrackingFlag> flags)
addAll
in interface java.util.Collection<TrackingLibrary.TrackingFlag>
addAll
in interface java.util.Set<TrackingLibrary.TrackingFlag>
addAll
in class java.util.AbstractCollection<TrackingLibrary.TrackingFlag>
public TrackingLibrary.TrackingFlags plus(TrackingLibrary.TrackingFlag flag)
TrackingLibrary.TrackingFlags
plus
in interface TrackingLibrary.TrackingFlags
flag
- the flag to addpublic TrackingLibrary.TrackingFlags plus(TrackingLibrary.TrackingFlags flags)
TrackingLibrary.TrackingFlags
plus
in interface TrackingLibrary.TrackingFlags
flags
- the flags to addpublic TrackingLibrary.TrackingFlags copyOf()
TrackingLibrary.TrackingFlags
copyOf
in interface TrackingLibrary.TrackingFlags
public TrackingLibrary.TrackingFlags minus(TrackingLibrary.TrackingFlag flag)
TrackingLibrary.TrackingFlags
minus
in interface TrackingLibrary.TrackingFlags
flag
- the flag to delpublic boolean remove(java.lang.Object flag)
remove
in interface java.util.Collection<TrackingLibrary.TrackingFlag>
remove
in interface java.util.Set<TrackingLibrary.TrackingFlag>
remove
in class java.util.HashSet<TrackingLibrary.TrackingFlag>
public int hashCode()
hashCode
in interface java.util.Collection<TrackingLibrary.TrackingFlag>
hashCode
in interface java.util.Set<TrackingLibrary.TrackingFlag>
hashCode
in class java.util.AbstractSet<TrackingLibrary.TrackingFlag>