java.lang.Object
org.opendaylight.yangtools.yang.common.Empty
All Implemented Interfaces:
Serializable, Immutable

@NonNullByDefault public final class Empty extends Object implements Immutable, Serializable
Dedicated singleton type for YANG's type empty value.
See Also:
  • Method Details

    • value

      public static Empty value()
      Return the singleton Empty value.
      Returns:
      Empty value.
    • completedFuture

      public static CompletionStage<Empty> completedFuture()
      Return a CompletionStage completed with value().
      Returns:
      A completed CompletionStage
    • immediateFuture

      public static com.google.common.util.concurrent.ListenableFuture<Empty> immediateFuture()
      Return a ListenableFuture completed with value().
      Returns:
      A completed ListenableFuture
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(@Nullable Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object