Package pl.gdela.socomo.composition
Class Component
java.lang.Object
pl.gdela.socomo.composition.Component
- All Implemented Interfaces:
java.lang.Comparable<Component>
public class Component extends java.lang.Object implements java.lang.Comparable<Component>
Slice of the code at give level. Component is a child package under
given level, together with all subpackages contained within it.
-
Field Summary
-
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Field Details
-
name
public final java.lang.String name -
size
public int size
-
-
Method Details
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()- Overrides:
hashCodein classjava.lang.Object
-
compareTo
- Specified by:
compareToin interfacejava.lang.Comparable<Component>
-