|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.pkg.client.Action
public abstract class Action
An Action
is the base class for all actions that are contained within
packages.
Action is the smallest unit of operation in IPS. See the man page of pkgsend(1) for different types of actions and their semantics.
Method Summary | |
---|---|
int |
compareTo(Action a)
Used internally to sort Action s. |
boolean |
equals(java.lang.Object a)
Determine if two Actions are the "same". |
int |
getSize()
Return the size of the installed bits for this action. |
int |
hashCode()
Implemented to be consistent with equals(Object) . |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public int getSize()
public int compareTo(Action a)
Action
s. Not intended to be used by clients.
compareTo
in interface java.lang.Comparable<Action>
public boolean equals(java.lang.Object a)
equals
in class java.lang.Object
a
- the Action to be compared
public int hashCode()
equals(Object)
.
hashCode
in class java.lang.Object
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |