public class PbHeadersToRpcHeadersAdapter extends Object implements Collection<jp.go.nict.langrid.commons.rpc.RpcHeader>
Constructor and Description |
---|
PbHeadersToRpcHeadersAdapter() |
PbHeadersToRpcHeadersAdapter(List<CommonProtos.Header> headers) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(jp.go.nict.langrid.commons.rpc.RpcHeader e) |
boolean |
addAll(Collection<? extends jp.go.nict.langrid.commons.rpc.RpcHeader> c) |
void |
clear() |
boolean |
contains(Object o) |
boolean |
containsAll(Collection<?> c) |
boolean |
equals(Object obj) |
List<CommonProtos.Header> |
getHeaders() |
int |
hashCode() |
boolean |
isEmpty() |
Iterator<jp.go.nict.langrid.commons.rpc.RpcHeader> |
iterator() |
boolean |
remove(Object o) |
boolean |
removeAll(Collection<?> c) |
boolean |
retainAll(Collection<?> c) |
int |
size() |
Object[] |
toArray() |
<T> T[] |
toArray(T[] a) |
public PbHeadersToRpcHeadersAdapter()
public PbHeadersToRpcHeadersAdapter(List<CommonProtos.Header> headers)
public List<CommonProtos.Header> getHeaders()
public boolean add(jp.go.nict.langrid.commons.rpc.RpcHeader e)
add
in interface Collection<jp.go.nict.langrid.commons.rpc.RpcHeader>
public boolean addAll(Collection<? extends jp.go.nict.langrid.commons.rpc.RpcHeader> c)
addAll
in interface Collection<jp.go.nict.langrid.commons.rpc.RpcHeader>
public void clear()
clear
in interface Collection<jp.go.nict.langrid.commons.rpc.RpcHeader>
public boolean contains(Object o)
contains
in interface Collection<jp.go.nict.langrid.commons.rpc.RpcHeader>
public boolean containsAll(Collection<?> c)
containsAll
in interface Collection<jp.go.nict.langrid.commons.rpc.RpcHeader>
public boolean equals(Object obj)
equals
in interface Collection<jp.go.nict.langrid.commons.rpc.RpcHeader>
equals
in class Object
public int hashCode()
hashCode
in interface Collection<jp.go.nict.langrid.commons.rpc.RpcHeader>
hashCode
in class Object
public boolean isEmpty()
isEmpty
in interface Collection<jp.go.nict.langrid.commons.rpc.RpcHeader>
public boolean remove(Object o)
remove
in interface Collection<jp.go.nict.langrid.commons.rpc.RpcHeader>
public boolean removeAll(Collection<?> c)
removeAll
in interface Collection<jp.go.nict.langrid.commons.rpc.RpcHeader>
public boolean retainAll(Collection<?> c)
retainAll
in interface Collection<jp.go.nict.langrid.commons.rpc.RpcHeader>
public int size()
size
in interface Collection<jp.go.nict.langrid.commons.rpc.RpcHeader>
public Object[] toArray()
toArray
in interface Collection<jp.go.nict.langrid.commons.rpc.RpcHeader>
public <T> T[] toArray(T[] a)
toArray
in interface Collection<jp.go.nict.langrid.commons.rpc.RpcHeader>
public Iterator<jp.go.nict.langrid.commons.rpc.RpcHeader> iterator()
iterator
in interface Iterable<jp.go.nict.langrid.commons.rpc.RpcHeader>
iterator
in interface Collection<jp.go.nict.langrid.commons.rpc.RpcHeader>