@Test public void testSetOfByteArrays() { assertTrue(ByteArraySet.fromStrings("a", "b", "c").contains("a".getBytes())); }
public boolean contains(byte[] auth) { return auths.contains(new ArrayByteSequence(auth)); }
Authorizations implements Iterable<byte[]>, Serializable, AuthorizationContainer { public boolean contains(byte[] auth) { return auths.contains(new ArrayByteSequence(auth)); } }
Authorizations implements Iterable<byte[]>, Serializable, AuthorizationContainer { public boolean contains(byte[] auth) { return auths.contains(new ArrayByteSequence(auth)); } Authorizations(Collection<byte[]> authorizations);  Authorizations(List<ByteBuffer> authorizations);  Authorizations(byte[] authorizations);  Authorizations();  Authorizations(String... authorizations); }
Authorizations implements Iterable<byte[]>, Serializable, AuthorizationContainer { public boolean contains(byte[] auth) { return auths.contains(new ArrayByteSequence(auth)); } Authorizations(Collection<byte[]> authorizations);  Authorizations(List<ByteBuffer> authorizations);  Authorizations(byte[] authorizations);  Authorizations();  Authorizations(String... authorizations); byte[] getAuthorizationsArray(); List<byte[]> getAuthorizations(); List<ByteBuffer> getAuthorizationsBB(); @Override String toString(); boolean contains(byte[] auth); @Override boolean contains(ByteSequence auth); boolean contains(String auth); @Override boolean equals(Object o); @Override int hashCode(); int size(); boolean isEmpty(); @Override Iterator<byte[]> iterator(); String serialize(); }
Authorizations implements Iterable<byte[]>, Serializable, AuthorizationContainer { public boolean contains(byte[] auth) { return auths.contains(new ArrayByteSequence(auth)); } Authorizations(Collection<byte[]> authorizations);  Authorizations(List<ByteBuffer> authorizations);  Authorizations(byte[] authorizations);  Authorizations();  Authorizations(String... authorizations); byte[] getAuthorizationsArray(); List<byte[]> getAuthorizations(); List<ByteBuffer> getAuthorizationsBB(); @Override String toString(); boolean contains(byte[] auth); @Override boolean contains(ByteSequence auth); boolean contains(String auth); @Override boolean equals(Object o); @Override int hashCode(); int size(); boolean isEmpty(); @Override Iterator<byte[]> iterator(); String serialize(); static final Authorizations EMPTY; static final String HEADER; }