Skip to content

Instantly share code, notes, and snippets.

@Teino1978-Corp
Created November 19, 2015 12:00
Show Gist options
  • Save Teino1978-Corp/6c3c82a5a2e391d63999 to your computer and use it in GitHub Desktop.
Save Teino1978-Corp/6c3c82a5a2e391d63999 to your computer and use it in GitHub Desktop.
class abc {
public static void main(String[] args) {
DomainObject subDomain = null;
Map<DomainField, String> d = null;
subDomain.add(DomainField.ZIP, d.get(DomainField.ZIP));
}
private static interface SomeOtherInterface { }
private static class FieldValueAssociation { }
private static enum DomainField { ZIP;}
public interface MValue extends SomeOtherInterface, Serializable { }
public interface DomainObject extends Iterable<FieldValueAssociation>, Cloneable, Serializable {
void add(DomainField field, MValue... values);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment