PrintStream.Print Method

Definition

Overloads

Print(String)

Prints a string.

Print(Single)

Prints a floating-point number.

Print(Int64)

Prints a long integer.

Print(Int32)

Prints an integer.

Print(Char[])

Prints an array of characters.

Print(Char)

Prints a character.

Print(Boolean)

Prints a boolean value.

Print(Object)

Prints an object.

Print(Double)

Prints a double-precision floating-point number.

Print(String)

Prints a string.

[Android.Runtime.Register("print", "(Ljava/lang/String;)V", "GetPrint_Ljava_lang_String_Handler")]
public virtual void Print (string? s);
[<Android.Runtime.Register("print", "(Ljava/lang/String;)V", "GetPrint_Ljava_lang_String_Handler")>]
abstract member Print : string -> unit
override this.Print : string -> unit

Parameters

s
String

The String to be printed

Attributes

Remarks

Java documentation for java.io.PrintStream.print(java.lang.String).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

Print(Single)

Prints a floating-point number.

[Android.Runtime.Register("print", "(F)V", "GetPrint_FHandler")]
public virtual void Print (float f);
[<Android.Runtime.Register("print", "(F)V", "GetPrint_FHandler")>]
abstract member Print : single -> unit
override this.Print : single -> unit

Parameters

f
Single

The float to be printed

Attributes

Remarks

Java documentation for java.io.PrintStream.print(float).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

Print(Int64)

Prints a long integer.

[Android.Runtime.Register("print", "(J)V", "GetPrint_JHandler")]
public virtual void Print (long l);
[<Android.Runtime.Register("print", "(J)V", "GetPrint_JHandler")>]
abstract member Print : int64 -> unit
override this.Print : int64 -> unit

Parameters

l
Int64

The long to be printed

Attributes

Remarks

Java documentation for java.io.PrintStream.print(long).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

Print(Int32)

Prints an integer.

[Android.Runtime.Register("print", "(I)V", "GetPrint_IHandler")]
public virtual void Print (int i);
[<Android.Runtime.Register("print", "(I)V", "GetPrint_IHandler")>]
abstract member Print : int -> unit
override this.Print : int -> unit

Parameters

i
Int32

The int to be printed

Attributes

Remarks

Java documentation for java.io.PrintStream.print(int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

Print(Char[])

Prints an array of characters.

[Android.Runtime.Register("print", "([C)V", "GetPrint_arrayCHandler")]
public virtual void Print (char[]? s);
[<Android.Runtime.Register("print", "([C)V", "GetPrint_arrayCHandler")>]
abstract member Print : char[] -> unit
override this.Print : char[] -> unit

Parameters

s
Char[]

The array of chars to be printed

Attributes

Remarks

Java documentation for java.io.PrintStream.print(char[]).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

Print(Char)

Prints a character.

[Android.Runtime.Register("print", "(C)V", "GetPrint_CHandler")]
public virtual void Print (char c);
[<Android.Runtime.Register("print", "(C)V", "GetPrint_CHandler")>]
abstract member Print : char -> unit
override this.Print : char -> unit

Parameters

c
Char

The char to be printed

Attributes

Remarks

Java documentation for java.io.PrintStream.print(char).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

Print(Boolean)

Prints a boolean value.

[Android.Runtime.Register("print", "(Z)V", "GetPrint_ZHandler")]
public virtual void Print (bool b);
[<Android.Runtime.Register("print", "(Z)V", "GetPrint_ZHandler")>]
abstract member Print : bool -> unit
override this.Print : bool -> unit

Parameters

b
Boolean

The boolean to be printed

Attributes

Remarks

Java documentation for java.io.PrintStream.print(boolean).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

Print(Object)

Prints an object.

[Android.Runtime.Register("print", "(Ljava/lang/Object;)V", "GetPrint_Ljava_lang_Object_Handler")]
public virtual void Print (Java.Lang.Object? obj);
[<Android.Runtime.Register("print", "(Ljava/lang/Object;)V", "GetPrint_Ljava_lang_Object_Handler")>]
abstract member Print : Java.Lang.Object -> unit
override this.Print : Java.Lang.Object -> unit

Parameters

obj
Object

The Object to be printed

Attributes

Remarks

Java documentation for java.io.PrintStream.print(java.lang.Object).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

Print(Double)

Prints a double-precision floating-point number.

[Android.Runtime.Register("print", "(D)V", "GetPrint_DHandler")]
public virtual void Print (double d);
[<Android.Runtime.Register("print", "(D)V", "GetPrint_DHandler")>]
abstract member Print : double -> unit
override this.Print : double -> unit

Parameters

d
Double

The double to be printed

Attributes

Remarks

Java documentation for java.io.PrintStream.print(double).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to