public class EDIFName extends Object implements Comparable<EDIFName>
Modifier and Type | Field and Description |
---|---|
static byte[] |
EXPORT_CONST_RENAME_START |
Constructor and Description |
---|
EDIFName(EDIFName edifName)
Copy constructor
|
EDIFName(String name) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(EDIFName o) |
boolean |
equals(Object obj) |
void |
exportEDIFName(OutputStream os,
EDIFWriteLegalNameCache<?> cache)
Writes out valid EDIF syntax the name and/or rename of this object to
the provided output writer.
|
static void |
exportSomeEDIFName(OutputStream os,
String name,
byte[] legalName) |
String |
getName() |
static <K,V> Map<K,V> |
getNewMap() |
int |
hashCode() |
String |
toString() |
public EDIFName(String name)
public EDIFName(EDIFName edifName)
edifName
- public String getName()
public static void exportSomeEDIFName(OutputStream os, String name, byte[] legalName) throws IOException
IOException
public void exportEDIFName(OutputStream os, EDIFWriteLegalNameCache<?> cache) throws IOException
os
- The stream to export the EDIF syntax to.IOException
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
public String toString()
toString
in class Object
public static <K,V> Map<K,V> getNewMap()