List of usage examples for java.util.function Consumer interface-usage
From source file dk.dma.ais.bus.provider.TcpClientProvider.java
/** * Round robin TCP client provider */ @ThreadSafe public final class TcpClientProvider extends AisBusProvider implements Runnable, Consumer<AisPacket>, IClientStoppedListener {
From source file ubicrypt.ui.ctrl.providers.GDriveInfoController.java
public class GDriveInfoController implements Initializable, Consumer<Tuple3<GDriveProvider, Consumer<UbiProvider>, ProviderStatus>> { private static final Logger log = getLogger(GDriveInfoController.class); @Inject protected GDriveAuthorizer authorizer; protected StackNavigator navigator;
From source file org.sonar.application.config.JdbcSettings.java
public class JdbcSettings implements Consumer<Props> { private static final int JDBC_EMBEDDED_PORT_DEFAULT_VALUE = 9092; enum Provider { H2("lib/jdbc/h2"), SQLSERVER("lib/jdbc/mssql"), MYSQL("lib/jdbc/mysql"), ORACLE(
From source file org.springframework.cloud.gateway.rsocket.server.PendingRequestRSocket.java
public class PendingRequestRSocket extends AbstractRSocket implements ResponderRSocket, Consumer<RegisteredEvent> { private static final Log log = LogFactory.getLog(PendingRequestRSocket.class); private final Function<RegisteredEvent, Mono<Route>> routeFinder;
From source file org.sonar.application.config.ClusterSettings.java
public class ClusterSettings implements Consumer<Props> { @Override public void accept(Props props) { if (!isClusterEnabled(props)) { return;
From source file org.openhab.binding.mqtt.homeassistant.internal.handler.HomeAssistantThingHandler.java
/**
* Handles HomeAssistant MQTT object things. Such an HA Object can have multiple HA Components with different instances
* of those Components. This handler auto-discovers all available Components and Component Instances and
* adds any new appearing components over time.<br>
* <br>
*
From source file net.thirdy.blackmarket.controls.ModSelectionPane.java
public class ModSelectionPane extends GridPane implements Consumer<List<ItemType>> { private TextField filterField; private DoubleTextField tfMinShouldMatch; private TableViewPlus<ModMapping> modMappingTable; private ListView<Mod> modsListView;
From source file eu.ggnet.dwoss.redtape.position.PositionUpdateCask.java
/** * * @author pascal.perau */ @Title("Position bearbeiten") public class PositionUpdateCask extends javax.swing.JPanel implements OnOk, Consumer<Position> {
From source file dk.dma.ais.utils.filter.AisFilter.java
/** * Command line tool to do various AIS reading, filtering and writing */ public class AisFilter extends AbstractCommandLineTool implements Consumer<AisPacket> { @Parameter(names = "-f", description = "Read from file filename (gzip or zip uncompression applied if filename ends with .gz or .zip respectively)")
From source file org.lanternpowered.server.world.pregen.LanternChunkPreGenerateTask.java
public class LanternChunkPreGenerateTask implements ChunkPreGenerate, Consumer<Task> { private static final int DEFAULT_TICK_INTERVAL = 4; private static final float DEFAULT_TICK_PERCENT = 0.8f; private static final Vector3i[] OFFSETS = { Vector3i.UNIT_Z.negate().mul(2), Vector3i.UNIT_X.mul(2),