Class LocationParams


  • class LocationParams
    extends java.lang.Object
    The LocationParams contains a serialization-ready representation of a location in Berkeley.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) long id
      The ID of this location.
      (package private) double lat
      The coordinates of this location.
      (package private) double lon
      The coordinates of this location.
      (package private) java.lang.String name
      The name of this location.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private LocationParams()
      Private constructor to prevent direct instantiation of a LocationParams instance.
      (package private) LocationParams​(double lat, double lon, java.lang.String name, long id)  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • lat

        final double lat
        The coordinates of this location.
      • lon

        final double lon
        The coordinates of this location.
      • name

        final java.lang.String name
        The name of this location.
      • id

        final long id
        The ID of this location.
    • Constructor Detail

      • LocationParams

        private LocationParams()
        Private constructor to prevent direct instantiation of a LocationParams instance.
      • LocationParams

        LocationParams​(double lat,
                       double lon,
                       java.lang.String name,
                       long id)