Interface Vector.Col<V extends Value<V,Q>,Q extends Quantity<Q>>

Type Parameters:
V - the vector type
Q - the quantity type
All Superinterfaces:
Serializable, Value<V,Q>
All Known Implementing Classes:
Vector2.Col, Vector3.Col, VectorN.Col
Enclosing class:
Vector<Q extends Quantity<Q>,V extends Vector<Q,V,SI,H,VT>,SI extends Vector<SIQuantity,SI,?,?,?>,H extends Vector<?,?,?,?,?>,VT extends Vector<Q,VT,?,?,V>>

public static interface Vector.Col<V extends Value<V,Q>,Q extends Quantity<Q>> extends Value<V,Q>
Formatting methods for column vector.
  • Method Details

    • format

      default String format()
      Concise description of this vector.
      Specified by:
      format in interface Value<V extends Value<V,Q>,Q extends Quantity<Q>>
      Returns:
      a String with the vector, with the unit attached.
    • format

      default String format(VectorFormat<?> format)
      String representation of this vector after applying the format.
      Parameters:
      format - the format to apply for the vector
      Returns:
      a String representation of this vector, formatted according to the given format
    • format

      default String format(Unit<?,Q> targetUnit)
      String representation of this vector, expressed in the specified unit.
      Specified by:
      format in interface Value<V extends Value<V,Q>,Q extends Quantity<Q>>
      Parameters:
      targetUnit - the unit into which the values of the vector are converted for display
      Returns:
      printable string with the vector's values expressed in the specified unit