Interface AbsVector.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:
AbsVector2.Col, AbsVector3.Col, AbsVectorN.Col
Enclosing class:
AbsVector<A extends AbsQuantity<A,Q,?>,Q extends Quantity<Q>,VA extends AbsVector<A,Q,VA,VQ,VAT>,VQ extends Vector<Q,VQ,?,?,?>,VAT extends AbsVector<A,Q,VAT,?,VA>>

public static interface AbsVector.Col<V extends Value<V,Q>,Q extends Quantity<Q>> extends Value<V,Q>
Formatting methods for absolute 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.Col 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