类 Size

java.lang.Object
ai.nextbillion.maps.model.Size
所有已实现的接口:
StringJoin.UrlValue, java.io.Serializable

public class Size
extends java.lang.Object
implements StringJoin.UrlValue, java.io.Serializable
另请参阅:
序列化表格
  • 字段概要

    字段 
    修饰符和类型 字段 说明
    int height
    The height of this Size.
    int width
    The width of this Size.
  • 构造器概要

    构造器 
    构造器 说明
    Size()
    Serialization constructor.
    Size​(int width, int height)
    Constructs a Size with a height/width pair.
  • 方法概要

    修饰符和类型 方法 说明
    java.lang.String toString()  
    java.lang.String toUrlValue()  

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • 字段详细资料

    • width

      public int width
      The width of this Size.
    • height

      public int height
      The height of this Size.
  • 构造器详细资料

    • Size

      public Size​(int width, int height)
      Constructs a Size with a height/width pair.
      参数:
      height - The height of this Size.
      width - The width of this Size.
    • Size

      public Size()
      Serialization constructor.
  • 方法详细资料

    • toString

      public java.lang.String toString()
      覆盖:
      toString 在类中 java.lang.Object
    • toUrlValue

      public java.lang.String toUrlValue()
      指定者:
      toUrlValue 在接口中 StringJoin.UrlValue
      返回:
      the object, represented as a URL value (not URL encoded).