com.coinbase.api.deserializer.AddressesLifter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of coinbase-java Show documentation
Show all versions of coinbase-java Show documentation
A first-party java wrapper around the Coinbase API
package com.coinbase.api.deserializer;
import java.util.ArrayList;
import java.util.List;
import com.coinbase.api.entity.Address;
import com.coinbase.api.entity.AddressNode;
import com.fasterxml.jackson.databind.util.StdConverter;
public class AddressesLifter extends StdConverter, List> {
public List convert(List nodes) {
ArrayList result = new ArrayList();
for (AddressNode node : nodes) {
result.add(node.getAddress());
}
return result;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy