MCPcopy Create free account
hub / github.com/OpenSourcePhysics/osp / aliases

Method aliases

unused/java/nio/charset/Charset.java:663–672  ·  view source on GitHub ↗

Returns a set containing this charset's aliases. @return An immutable set of this charset's aliases

()

Source from the content-addressed store, hash-verified

661 * @return An immutable set of this charset's aliases
662 */
663 public final Set<String> aliases() {
664 if (aliasSet != null)
665 return aliasSet;
666 int n = aliases.length;
667 HashSet<String> hs = new HashSet<String>(n);
668 for (int i = 0; i < n; i++)
669 hs.add(aliases[i]);
670 aliasSet = Collections.unmodifiableSet(hs);
671 return aliasSet;
672 }
673
674 /**
675 * Returns this charset's human-readable name for the default locale.

Callers

nothing calls this directly

Calls 1

addMethod · 0.45

Tested by

no test coverage detected