id
stringlengths
7
14
text
stringlengths
1
106k
2626654_0
@SuppressWarnings({ "rawtypes", "unchecked" }) @Override public final void serialize(final Object object, final JsonGenerator jgen, final SerializerProvider provider) throws IOException, JsonProcessingException { jsonGen = jgen; jsonProvider = provider; boolean flushEnabled = jsonGen.isEnabled(Feature.FLUSH_PASSED...
2626654_1
@SuppressWarnings({ "rawtypes", "unchecked" }) @Override public final void serialize(final Object object, final JsonGenerator jgen, final SerializerProvider provider) throws IOException, JsonProcessingException { jsonGen = jgen; jsonProvider = provider; boolean flushEnabled = jsonGen.isEnabled(Feature.FLUSH_PASSED...
2626654_2
@SuppressWarnings({ "rawtypes", "unchecked" }) @Override public final void serialize(final Object object, final JsonGenerator jgen, final SerializerProvider provider) throws IOException, JsonProcessingException { jsonGen = jgen; jsonProvider = provider; boolean flushEnabled = jsonGen.isEnabled(Feature.FLUSH_PASSED...
2626654_3
@SuppressWarnings({ "rawtypes", "unchecked" }) @Override public final void serialize(final Object object, final JsonGenerator jgen, final SerializerProvider provider) throws IOException, JsonProcessingException { jsonGen = jgen; jsonProvider = provider; boolean flushEnabled = jsonGen.isEnabled(Feature.FLUSH_PASSED...
2626654_4
@SuppressWarnings({ "rawtypes", "unchecked" }) @Override public final void serialize(final Object object, final JsonGenerator jgen, final SerializerProvider provider) throws IOException, JsonProcessingException { jsonGen = jgen; jsonProvider = provider; boolean flushEnabled = jsonGen.isEnabled(Feature.FLUSH_PASSED...
2626654_5
@SuppressWarnings({ "rawtypes", "unchecked" }) @Override public final void serialize(final Object object, final JsonGenerator jgen, final SerializerProvider provider) throws IOException, JsonProcessingException { jsonGen = jgen; jsonProvider = provider; boolean flushEnabled = jsonGen.isEnabled(Feature.FLUSH_PASSED...
2626654_6
public static boolean isObfuscatedTarget(final String target) { return target.indexOf(UrlData.OBFUSCATION_ROOT_PATH) != -1; }
2626654_7
public static String stripAndFillSessionData(final String url, final UrlDataImpl urldata) { final int pos = url.indexOf(';'); if (pos != -1) { final char[] data = url.toCharArray(); int sessionStart; if ((sessionStart = indexOf(data, jsessionLower, pos)) != -1 || (sessionStart = indexOf(data, jsessionUpper, pos...
2626654_8
public static String stripAndFillSessionData(final String url, final UrlDataImpl urldata) { final int pos = url.indexOf(';'); if (pos != -1) { final char[] data = url.toCharArray(); int sessionStart; if ((sessionStart = indexOf(data, jsessionLower, pos)) != -1 || (sessionStart = indexOf(data, jsessionUpper, pos...
2626654_9
public static String stripAndFillSessionData(final String url, final UrlDataImpl urldata) { final int pos = url.indexOf(';'); if (pos != -1) { final char[] data = url.toCharArray(); int sessionStart; if ((sessionStart = indexOf(data, jsessionLower, pos)) != -1 || (sessionStart = indexOf(data, jsessionUpper, pos...
2647335_0
public static String normalizePath(String path) { return joiner().join(splitter().split(path)); }
2647335_1
public static String normalizeDirectory(String path) { return PATH_SEPARATOR + normalizePath(path) + PATH_SEPARATOR; }
2647335_2
public static String join(String path1, String... path2) { String path = normalizePath(path1 + PATH_SEPARATOR + joiner().join(path2)); return path1.startsWith(PATH_SEPARATOR) ? PATH_SEPARATOR + path : path; }
2647335_3
public String forGroup(String groupName, ResourceHtmlTag tag) { return namePattern .replace("@groupName@", groupName) .replace("@extension@", tag.getExtension()); }
2647335_4
public String forGroup(String groupName, ResourceHtmlTag tag) { return namePattern .replace("@groupName@", groupName) .replace("@extension@", tag.getExtension()); }
2647335_5
public String forGroup(String groupName, ResourceHtmlTag tag) { return namePattern .replace("@groupName@", groupName) .replace("@extension@", tag.getExtension()); }
2647335_6
EnumSet<ResourceHtmlTag> getTags() { return tags; }
2647335_7
public int doStartTag() throws JspException { if (name == null) throw jspTagException("The name parameter is mandatory"); try { final HttpServletRequest request = (HttpServletRequest) pageContext.getRequest(); createRenderer(tags).render(pageContext.getOut(), name, request.getContextPath...
2651891_0
public String get() { if (stringList.isEmpty()) { return null; } else { String result = stringList.remove(0); return result; } }
2656737_0
public String transformXmlIntoHtml(String xmlString) throws IllegalArgumentException, CdaXmlTransformerException { xmlString = deliverRelevantXML(xmlString); String htmlString = transformXmlAndXslIntoHtml(xmlString); htmlString = deliverRelevantHTML(htmlString); return htmlString; }
2656737_1
public String transformXmlIntoHtml(String xmlString) throws IllegalArgumentException, CdaXmlTransformerException { xmlString = deliverRelevantXML(xmlString); String htmlString = transformXmlAndXslIntoHtml(xmlString); htmlString = deliverRelevantHTML(htmlString); return htmlString; }
2656737_2
public String transformXmlIntoHtml(String xmlString) throws IllegalArgumentException, CdaXmlTransformerException { xmlString = deliverRelevantXML(xmlString); String htmlString = transformXmlAndXslIntoHtml(xmlString); htmlString = deliverRelevantHTML(htmlString); return htmlString; }
2656737_3
public String transformXmlIntoHtml(String xmlString) throws IllegalArgumentException, CdaXmlTransformerException { xmlString = deliverRelevantXML(xmlString); String htmlString = transformXmlAndXslIntoHtml(xmlString); htmlString = deliverRelevantHTML(htmlString); return htmlString; }
2656737_4
public String createConsentCDA(Patient patient, PatientConsentPolicy policy, DocumentEntry documentEntry) { // Basic checks if (patient == null) throw new IllegalArgumentException("Patient cannot be null."); if (policy == null) throw new IllegalArgumentException("policy cannot be null."); if (documentEntry ==...
2656737_5
public String createConsentCDA(Patient patient, PatientConsentPolicy policy, DocumentEntry documentEntry) { // Basic checks if (patient == null) throw new IllegalArgumentException("Patient cannot be null."); if (policy == null) throw new IllegalArgumentException("policy cannot be null."); if (documentEntry ==...
2656737_6
public String createConsentCDA(Patient patient, PatientConsentPolicy policy, DocumentEntry documentEntry) { // Basic checks if (patient == null) throw new IllegalArgumentException("Patient cannot be null."); if (policy == null) throw new IllegalArgumentException("policy cannot be null."); if (documentEntry ==...
2656737_7
public String createConsentCDA(Patient patient, PatientConsentPolicy policy, DocumentEntry documentEntry) { // Basic checks if (patient == null) throw new IllegalArgumentException("Patient cannot be null."); if (policy == null) throw new IllegalArgumentException("policy cannot be null."); if (documentEntry ==...
2656737_8
public String createConsentCDA(Patient patient, PatientConsentPolicy policy, DocumentEntry documentEntry) { // Basic checks if (patient == null) throw new IllegalArgumentException("Patient cannot be null."); if (policy == null) throw new IllegalArgumentException("policy cannot be null."); if (documentEntry ==...
2657795_0
@Override public MuleEvent process(MuleEvent event) throws MuleException, NullPointerException { checkNotNull(event, "event"); return getFlow(event.getMuleContext()).process(event); }
2666578_0
public CollectResult collectDependencies( RepositorySystemSession session, CollectRequest request ) throws DependencyCollectionException { session = optimizeSession( session ); RequestTrace trace = RequestTrace.newChild( request.getTrace(), request ); CollectResult result = new CollectResult( request );...
2666578_1
public CollectResult collectDependencies( RepositorySystemSession session, CollectRequest request ) throws DependencyCollectionException { session = optimizeSession( session ); RequestTrace trace = RequestTrace.newChild( request.getTrace(), request ); CollectResult result = new CollectResult( request );...
2666578_2
public CollectResult collectDependencies( RepositorySystemSession session, CollectRequest request ) throws DependencyCollectionException { session = optimizeSession( session ); RequestTrace trace = RequestTrace.newChild( request.getTrace(), request ); CollectResult result = new CollectResult( request );...
2666578_3
public CollectResult collectDependencies( RepositorySystemSession session, CollectRequest request ) throws DependencyCollectionException { session = optimizeSession( session ); RequestTrace trace = RequestTrace.newChild( request.getTrace(), request ); CollectResult result = new CollectResult( request );...
2666578_4
public CollectResult collectDependencies( RepositorySystemSession session, CollectRequest request ) throws DependencyCollectionException { session = optimizeSession( session ); RequestTrace trace = RequestTrace.newChild( request.getTrace(), request ); CollectResult result = new CollectResult( request );...
2666578_5
public CollectResult collectDependencies( RepositorySystemSession session, CollectRequest request ) throws DependencyCollectionException { session = optimizeSession( session ); RequestTrace trace = RequestTrace.newChild( request.getTrace(), request ); CollectResult result = new CollectResult( request );...
2666578_6
public CollectResult collectDependencies( RepositorySystemSession session, CollectRequest request ) throws DependencyCollectionException { session = optimizeSession( session ); RequestTrace trace = RequestTrace.newChild( request.getTrace(), request ); CollectResult result = new CollectResult( request );...
2666578_7
public CollectResult collectDependencies( RepositorySystemSession session, CollectRequest request ) throws DependencyCollectionException { session = optimizeSession( session ); RequestTrace trace = RequestTrace.newChild( request.getTrace(), request ); CollectResult result = new CollectResult( request );...
2666578_8
public CollectResult collectDependencies( RepositorySystemSession session, CollectRequest request ) throws DependencyCollectionException { session = optimizeSession( session ); RequestTrace trace = RequestTrace.newChild( request.getTrace(), request ); CollectResult result = new CollectResult( request );...
2666578_9
public CollectResult collectDependencies( RepositorySystemSession session, CollectRequest request ) throws DependencyCollectionException { session = optimizeSession( session ); RequestTrace trace = RequestTrace.newChild( request.getTrace(), request ); CollectResult result = new CollectResult( request );...
2666662_0
@OslcName(TRS_TERM_CHANGE) @OslcDescription("URI references to the list of Change Event entries.") @OslcPropertyDefinition(TRS_CHANGE) @OslcTitle("Change") public List<ChangeEvent> getChange() { return change; }
2666662_1
public void setChange(List<ChangeEvent> change) { if (change == null) { throw new IllegalArgumentException("Change Event list must not be null"); } this.change = change; }
2666662_2
static boolean isCollectionType(final Class<?> returnType) { return Collection.class.isAssignableFrom(returnType); }
2666662_3
static boolean isCollectionType(final Class<?> returnType) { return Collection.class.isAssignableFrom(returnType); }
2666662_4
protected static void validateSetMethodExists(final Class<?> resourceClass, final Method getMethod) throws OslcCoreMissingSetMethodException { final String getMethodName = getMethod.getName(); final String setMethodName; if (getMethodName.startsWith(METHOD_NAME_START_GET)) { setMethodName = METHOD_NAME_START_SET +...
2666662_5
protected static void validateSetMethodExists(final Class<?> resourceClass, final Method getMethod) throws OslcCoreMissingSetMethodException { final String getMethodName = getMethod.getName(); final String setMethodName; if (getMethodName.startsWith(METHOD_NAME_START_GET)) { setMethodName = METHOD_NAME_START_SET +...
2666662_6
protected static void validateSetMethodExists(final Class<?> resourceClass, final Method getMethod) throws OslcCoreMissingSetMethodException { final String getMethodName = getMethod.getName(); final String setMethodName; if (getMethodName.startsWith(METHOD_NAME_START_GET)) { setMethodName = METHOD_NAME_START_SET +...
2666662_7
@Override public int hashCode() { return Objects.hash(getValue()); }
2666662_8
@Override public int hashCode() { return Objects.hash(getValue()); }
2666662_9
@Override public int hashCode() { return Objects.hash(getValue()); }
2675355_0
public Node deserializeObject(JsonReader reader) { Log.info("Deserializing JSON to Node."); JsonObject jsonObject = reader.readObject(); return deserializeObject(jsonObject); }
2675355_1
public Node deserializeObject(JsonReader reader) { Log.info("Deserializing JSON to Node."); JsonObject jsonObject = reader.readObject(); return deserializeObject(jsonObject); }
2675355_2
public Node deserializeObject(JsonReader reader) { Log.info("Deserializing JSON to Node."); JsonObject jsonObject = reader.readObject(); return deserializeObject(jsonObject); }
2675355_3
public Node deserializeObject(JsonReader reader) { Log.info("Deserializing JSON to Node."); JsonObject jsonObject = reader.readObject(); return deserializeObject(jsonObject); }
2675355_4
public Node deserializeObject(JsonReader reader) { Log.info("Deserializing JSON to Node."); JsonObject jsonObject = reader.readObject(); return deserializeObject(jsonObject); }
2675355_5
public Node deserializeObject(JsonReader reader) { Log.info("Deserializing JSON to Node."); JsonObject jsonObject = reader.readObject(); return deserializeObject(jsonObject); }
2675355_6
public Node deserializeObject(JsonReader reader) { Log.info("Deserializing JSON to Node."); JsonObject jsonObject = reader.readObject(); return deserializeObject(jsonObject); }
2675355_7
public Node deserializeObject(JsonReader reader) { Log.info("Deserializing JSON to Node."); JsonObject jsonObject = reader.readObject(); return deserializeObject(jsonObject); }
2675355_8
public Node deserializeObject(JsonReader reader) { Log.info("Deserializing JSON to Node."); JsonObject jsonObject = reader.readObject(); return deserializeObject(jsonObject); }
2675355_9
public Node deserializeObject(JsonReader reader) { Log.info("Deserializing JSON to Node."); JsonObject jsonObject = reader.readObject(); return deserializeObject(jsonObject); }
2675654_0
public static boolean copy(File from, File to) { try { return copy(new BufferedInputStream(new FileInputStream(from)), to); } catch (FileNotFoundException fnfe) { Output.print(fnfe); } return false; }
2675654_1
public static boolean copyDir(File fromDir, File toDir) { return copyDir(fromDir, toDir, null); }
2675654_2
public static String pathFromParts(String ... parts) { if ((parts == null) || (parts.length < 1)) { return null; } StringBuilder buf = new StringBuilder(); for (String part : parts) { if ((buf.length() > 0) && (buf.charAt(buf.length() - 1) != File.separatorChar) && !part....
2675654_3
public static File fromParts(String ... parts) { String path = pathFromParts(parts); if (path == null) { return null; } else { return new File(path); } }
2675654_4
public static boolean download(URL remoteUrl, Map<String, String> headers, File into, String name, String intoName, boolean ignoreFNF) { if (remoteUrl == null) { return false; } InputStream stream; try { stream = downloadToStream(remoteUrl, headers); } catch (FileNotFoundException fn...
2675654_5
public static String getLocalPath(URL url, Map<String, String> headers, String name, String intoName) { if (url == null) { return null; } String protocol = url.getProtocol(); if ("file".equals(protocol)) { return url.getFile(); } else { try { File tmp = File.creat...
2675654_6
public static String getSha1Hash(File file) { InputStream fileInputStream = null; try { MessageDigest hash = MessageDigest.getInstance("SHA1"); fileInputStream = new BufferedInputStream(new FileInputStream(file)); DigestInputStream digestInputStream = new DigestInputStream(fileInputStrea...
2675654_7
static Map<Scope, Map<Context, PropFileChain>> load(File configurationDirectory) { return load(configurationDirectory, false); }
2675654_8
private static Map<Scope, Map<Context, PropFileChain>> chain(Map<Scope, Map<Context, PropFile>> system, Map<Scope, Map<Context, PropFile>> local, Map<Scope, Map<Context, PropFile>> adHoc) { Map<...
2675654_9
public static PropFile.Prop filter(PropFile.Prop unfiltered, String uniqueIdentifier, Map<Context, PropFileChain> filterConsultant) throws Circular { if ((unfiltered == null) || (uniqueIdentifier == null) || (filterConsultant == null)) { throw new NullPointerException(Stri...
2680621_0
public static String getFullNameWithFamilyNameFirst(PersonName personName) { if (personName == null) { return "[" + Context.getMessageSourceService().getMessage("htmlformentry.unknownProviderName") + "]"; } StringBuffer nameString = new StringBuffer(); if (StringUtils.isNotBlank(personName.getFamilyNamePref...
2680621_1
public static String getFullNameWithFamilyNameFirst(PersonName personName) { if (personName == null) { return "[" + Context.getMessageSourceService().getMessage("htmlformentry.unknownProviderName") + "]"; } StringBuffer nameString = new StringBuffer(); if (StringUtils.isNotBlank(personName.getFamilyNamePref...
2680621_2
public static String getFullNameWithFamilyNameFirst(PersonName personName) { if (personName == null) { return "[" + Context.getMessageSourceService().getMessage("htmlformentry.unknownProviderName") + "]"; } StringBuffer nameString = new StringBuffer(); if (StringUtils.isNotBlank(personName.getFamilyNamePref...
2680621_3
public static String getFullNameWithFamilyNameFirst(PersonName personName) { if (personName == null) { return "[" + Context.getMessageSourceService().getMessage("htmlformentry.unknownProviderName") + "]"; } StringBuffer nameString = new StringBuffer(); if (StringUtils.isNotBlank(personName.getFamilyNamePref...
2680621_4
public static String getFullNameWithFamilyNameFirst(PersonName personName) { if (personName == null) { return "[" + Context.getMessageSourceService().getMessage("htmlformentry.unknownProviderName") + "]"; } StringBuffer nameString = new StringBuffer(); if (StringUtils.isNotBlank(personName.getFamilyNamePref...
2680621_5
public Widget getWidgetByFieldName(String fieldName) { for (Map.Entry<Widget, String> e : fieldNames.entrySet()) { if (e.getValue().equals(fieldName)) return e.getKey(); } return null; }
2680621_6
public Widget getWidgetByFieldName(String fieldName) { for (Map.Entry<Widget, String> e : fieldNames.entrySet()) { if (e.getValue().equals(fieldName)) return e.getKey(); } return null; }
2680621_7
public Collection<String> getErrorDivIds() { Set<String> ret = new HashSet<String>(); for (ErrorWidget e : errorWidgets.values()) ret.add(getFieldName(e)); return ret; }
2680621_8
public boolean isHidden() { return hidden; }
2680621_9
public void setOnChangeFunction(String onChangeFunction) { this.onChangeFunction = onChangeFunction; }
2681994_0
@Override public PermissionTicket createTicket(ResourceSet resourceSet, Set<String> scopes) { // check to ensure that the scopes requested are a subset of those in the resource set if (!scopeService.scopesMatch(resourceSet.getScopes(), scopes)) { throw new InsufficientScopeException("Scopes of resource set are not ...
2681994_1
@Override public PermissionTicket createTicket(ResourceSet resourceSet, Set<String> scopes) { // check to ensure that the scopes requested are a subset of those in the resource set if (!scopeService.scopesMatch(resourceSet.getScopes(), scopes)) { throw new InsufficientScopeException("Scopes of resource set are not ...
2681994_2
@Override public PermissionTicket createTicket(ResourceSet resourceSet, Set<String> scopes) { // check to ensure that the scopes requested are a subset of those in the resource set if (!scopeService.scopesMatch(resourceSet.getScopes(), scopes)) { throw new InsufficientScopeException("Scopes of resource set are not ...
2681994_3
@Override public PermissionTicket createTicket(ResourceSet resourceSet, Set<String> scopes) { // check to ensure that the scopes requested are a subset of those in the resource set if (!scopeService.scopesMatch(resourceSet.getScopes(), scopes)) { throw new InsufficientScopeException("Scopes of resource set are not ...
2681994_4
@Override public PermissionTicket createTicket(ResourceSet resourceSet, Set<String> scopes) { // check to ensure that the scopes requested are a subset of those in the resource set if (!scopeService.scopesMatch(resourceSet.getScopes(), scopes)) { throw new InsufficientScopeException("Scopes of resource set are not ...
2681994_5
@Override public ResourceSet saveNew(ResourceSet rs) { if (rs.getId() != null) { throw new IllegalArgumentException("Can't save a new resource set with an ID already set to it."); } if (!checkScopeConsistency(rs)) { throw new IllegalArgumentException("Can't save a resource set with inconsistent claims."); } Re...
2681994_6
@Override public ResourceSet update(ResourceSet oldRs, ResourceSet newRs) { if (oldRs.getId() == null || newRs.getId() == null || !oldRs.getId().equals(newRs.getId())) { throw new IllegalArgumentException("Resource set IDs mismatched"); } if (!checkScopeConsistency(newRs)) { throw new IllegalArgumentException...
2681994_7
@Override public ResourceSet update(ResourceSet oldRs, ResourceSet newRs) { if (oldRs.getId() == null || newRs.getId() == null || !oldRs.getId().equals(newRs.getId())) { throw new IllegalArgumentException("Resource set IDs mismatched"); } if (!checkScopeConsistency(newRs)) { throw new IllegalArgumentException...
2681994_8
@Override public ResourceSet update(ResourceSet oldRs, ResourceSet newRs) { if (oldRs.getId() == null || newRs.getId() == null || !oldRs.getId().equals(newRs.getId())) { throw new IllegalArgumentException("Resource set IDs mismatched"); } if (!checkScopeConsistency(newRs)) { throw new IllegalArgumentException...
2681994_9
@Override public Map<String, JWK> getAllPublicKeys() { Map<String, JWK> pubKeys = new HashMap<>(); // pull out all public keys for (String keyId : keys.keySet()) { JWK key = keys.get(keyId); JWK pub = key.toPublicJWK(); if (pub != null) { pubKeys.put(keyId, pub); } } return pubKeys; }
2685841_0
@SuppressWarnings("unchecked") @Override public <T> T getProperty(String key, T defaultValue) { String property = this.properties.getProperty(key); if (property == null) { return defaultValue; } if (defaultValue != null) { return getProperty(key, (Class<T>) defaultValue.getClass()); ...
2685841_1
@SuppressWarnings("unchecked") @Override public <T> T getProperty(String key, T defaultValue) { String property = this.properties.getProperty(key); if (property == null) { return defaultValue; } if (defaultValue != null) { return getProperty(key, (Class<T>) defaultValue.getClass()); ...
2685841_2
@SuppressWarnings("unchecked") @Override public <T> T getProperty(String key, T defaultValue) { String property = this.properties.getProperty(key); if (property == null) { return defaultValue; } if (defaultValue != null) { return getProperty(key, (Class<T>) defaultValue.getClass()); ...
2685841_3
@SuppressWarnings("unchecked") @Override public <T> T getProperty(String key, T defaultValue) { String property = this.properties.getProperty(key); if (property == null) { return defaultValue; } if (defaultValue != null) { return getProperty(key, (Class<T>) defaultValue.getClass()); ...
2685841_4
@SuppressWarnings("unchecked") @Override public <T> T getProperty(String key, T defaultValue) { String property = this.properties.getProperty(key); if (property == null) { return defaultValue; } if (defaultValue != null) { return getProperty(key, (Class<T>) defaultValue.getClass()); ...
2685841_5
@SuppressWarnings("unchecked") @Override public <T> T getProperty(String key, T defaultValue) { String property = this.properties.getProperty(key); if (property == null) { return defaultValue; } if (defaultValue != null) { return getProperty(key, (Class<T>) defaultValue.getClass()); ...
2685841_6
@SuppressWarnings("unchecked") @Override public <T> T getProperty(String key, T defaultValue) { String property = this.properties.getProperty(key); if (property == null) { return defaultValue; } if (defaultValue != null) { return getProperty(key, (Class<T>) defaultValue.getClass()); ...
2685841_7
@SuppressWarnings("unchecked") @Override public <T> T getProperty(String key, T defaultValue) { String property = this.properties.getProperty(key); if (property == null) { return defaultValue; } if (defaultValue != null) { return getProperty(key, (Class<T>) defaultValue.getClass()); ...
2685841_8
@SuppressWarnings("unchecked") @Override public <T> T getProperty(String key, T defaultValue) { String property = this.properties.getProperty(key); if (property == null) { return defaultValue; } if (defaultValue != null) { return getProperty(key, (Class<T>) defaultValue.getClass()); ...
2685841_9
@SuppressWarnings("unchecked") @Override public <T> T getProperty(String key, T defaultValue) { String property = this.properties.getProperty(key); if (property == null) { return defaultValue; } if (defaultValue != null) { return getProperty(key, (Class<T>) defaultValue.getClass()); ...
2689039_0
public T getMin() { return mMin; }