Package android.system
Class StructLinger
- java.lang.Object
-
- android.system.StructLinger
-
public final class StructLinger extends Object
Corresponds to C'sstruct lingerfrom <sys/socket.h>
-
-
Constructor Summary
Constructors Constructor Description StructLinger(int l_onoff, int l_linger)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisOn()StringtoString()Returns a string containing a concise, human-readable description of this object.
-
-
-
Method Detail
-
isOn
public boolean isOn()
-
toString
public String toString()
Description copied from class:ObjectReturns a string containing a concise, human-readable description of this object. Subclasses are encouraged to override this method and provide an implementation that takes into account the object's type and data. The default implementation is equivalent to the following expression:getClass().getName() + '@' + Integer.toHexString(hashCode())
See Writing a useful
toStringmethod if you intend implementing your owntoStringmethod.
-
-