public class SetOfAttributes extends java.lang.Object implements KeyIndex, CiphertextIndex, java.util.Set<Attribute>, org.cryptimeleon.math.hash.UniqueByteRepresentable
Attributes.| Constructor and Description |
|---|
SetOfAttributes() |
SetOfAttributes(Attribute... attributes) |
SetOfAttributes(java.util.Collection<? extends Attribute> attributes) |
SetOfAttributes(org.cryptimeleon.math.serialization.Representation repr) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(Attribute m) |
boolean |
addAll(java.util.Collection<? extends Attribute> c) |
void |
clear() |
boolean |
contains(java.lang.Object o) |
boolean |
containsAll(java.util.Collection<?> c) |
boolean |
equals(java.lang.Object obj) |
org.cryptimeleon.math.serialization.Representation |
getRepresentation() |
int |
hashCode() |
boolean |
isEmpty() |
java.util.Iterator<Attribute> |
iterator() |
boolean |
remove(java.lang.Object o) |
boolean |
removeAll(java.util.Collection<?> c) |
boolean |
retainAll(java.util.Collection<?> c) |
int |
size() |
java.lang.Object[] |
toArray() |
<T> T[] |
toArray(T[] a) |
java.lang.String |
toString() |
org.cryptimeleon.math.hash.ByteAccumulator |
updateAccumulator(org.cryptimeleon.math.hash.ByteAccumulator accumulator) |
public SetOfAttributes()
public SetOfAttributes(java.util.Collection<? extends Attribute> attributes)
public SetOfAttributes(Attribute... attributes)
public SetOfAttributes(org.cryptimeleon.math.serialization.Representation repr)
public org.cryptimeleon.math.serialization.Representation getRepresentation()
getRepresentation in interface org.cryptimeleon.math.serialization.Representablepublic boolean add(Attribute m)
public boolean addAll(java.util.Collection<? extends Attribute> c)
public void clear()
public boolean contains(java.lang.Object o)
public boolean containsAll(java.util.Collection<?> c)
public boolean isEmpty()
public java.util.Iterator<Attribute> iterator()
public boolean remove(java.lang.Object o)
public boolean removeAll(java.util.Collection<?> c)
public boolean retainAll(java.util.Collection<?> c)
public int size()
public java.lang.Object[] toArray()
public <T> T[] toArray(T[] a)
public int hashCode()
public boolean equals(java.lang.Object obj)
public org.cryptimeleon.math.hash.ByteAccumulator updateAccumulator(org.cryptimeleon.math.hash.ByteAccumulator accumulator)
updateAccumulator in interface org.cryptimeleon.math.hash.UniqueByteRepresentablepublic java.lang.String toString()
toString in class java.lang.Object