RobotCore 1.0
WPILib port to raspberry Pi
Loading...
Searching...
No Matches
IntegerSubscriber.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.LongSupplier;
10
12public interface IntegerSubscriber extends Subscriber, LongSupplier {
18 @Override
20
27 long get();
28
36 long get(long defaultValue);
37
38 @Override
39 default long getAsLong() {
40 return get();
41 }
42
51
60 TimestampedInteger getAtomic(long defaultValue);
61
73
84}
TimestampedInteger getAtomic(long defaultValue)