RobotCore 1.0
WPILib port to raspberry Pi
Loading...
Searching...
No Matches
IntegerPublisher.java
1// Copyright (c) FIRST and other WPILib contributors.
2// Open Source Software; you can modify and/or share it under the terms of
3// the WPILib BSD license file in the root directory of this project.
4
5// THIS FILE WAS AUTO-GENERATED BY ./ntcore/generate_topics.py. DO NOT MODIFY
6
7package org.wpilib.networktables;
8
9import java.util.function.LongConsumer;
10
12public interface IntegerPublisher extends Publisher, LongConsumer {
18 @Override
20
26 default void set(long value) {
27 set(value, 0);
28 }
29
30
37 void set(long value, long time);
38
46 void setDefault(long value);
47
48 @Override
49 default void accept(long value) {
50 set(value);
51 }
52}