| isEmpty() | ใช้ตรวจสอบว่า vector ไม่มีข้อมูลอยู่เลยใช่หรือไม่ |
|---|
method:isEmpty ();
return type:boolean
content:ใช้ตรวจสอบว่า vector ไม่มีข้อมูลอยู่เลยใช่หรือไม่
example:Vector vector = new Vector ( 20 ); if ( vector.isEmpty () ) { System.out.println ( "vector empty" ); }