# Print output for @column tags ?>
Developers

- Design
- Develop
- Distribute

Developer Console

## Most visited

## Recently visited

## Results for

Summary: Methods | Inherited Methods

# CaseMap.Upper

`public static final class CaseMap.Upper`
`` `extends CaseMap` ``

java.lang.Object
↳ | android.icu.text.CaseMap
| ↳ | android.icu.text.CaseMap.Upper

Uppercasing options and methods. Immutable.

See also:

- `CaseMap.toUpper()`

## Summary

### Public methods
`<A extends Appendable> A` | `apply(Locale locale, CharSequence src, A dest, Edits edits)` Uppercases a string and optionally records edits (see `omitUnchangedText()`).
`String` | `apply(Locale locale, CharSequence src)` Uppercases a string.
`CaseMap.Upper` | `omitUnchangedText()` Returns an instance that behaves like this one but omits unchanged text when case-mapping with `Edits`.

### Inherited methods
From class `android.icu.text.CaseMap`
`static CaseMap.Fold` | `fold()`
`abstract CaseMap` | `omitUnchangedText()` Returns an instance that behaves like this one but omits unchanged text when case-mapping with `Edits`.
`static CaseMap.Lower` | `toLower()`
`static CaseMap.Title` | `toTitle()`
`static CaseMap.Upper` | `toUpper()`
From class `java.lang.Object`
`Object` | `clone()` Creates and returns a copy of this object.
`boolean` | `equals(Object obj)` Indicates whether some other object is "equal to" this one.
`void` | `finalize()` Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.
`final Class<?>` | `getClass()` Returns the runtime class of this `Object`.
`int` | `hashCode()` Returns a hash code value for the object.
`final void` | `notify()` Wakes up a single thread that is waiting on this object's monitor.
`final void` | `notifyAll()` Wakes up all threads that are waiting on this object's monitor.
`String` | `toString()` Returns a string representation of the object.
`final void` | `wait(long timeout, int nanos)` Causes the current thread to wait until another thread invokes the `notify()` method or the `notifyAll()` method for this object, or some other thread interrupts the current thread, or a certain amount of real time has elapsed.
`final void` | `wait(long timeout)` Causes the current thread to wait until either another thread invokes the `notify()` method or the `notifyAll()` method for this object, or a specified amount of time has elapsed.
`final void` | `wait()` Causes the current thread to wait until another thread invokes the `notify()` method or the `notifyAll()` method for this object.

## Public methods

### apply

    public A apply (Locale locale,
                    CharSequence src,
                    A dest,
                    Edits edits)

Uppercases a string and optionally records edits (see `omitUnchangedText()`). Casing is locale-dependent and context-sensitive. The result may be longer or shorter than the original.

Parameters
`locale` | `Locale`: The locale ID. Can be null for `Locale#getDefault`. (See `ULocale#toLocale`.)
`src` | `CharSequence`: The original string.
`dest` | `A`: A buffer for the result string. Must not be null.
`edits` | `Edits`: Records edits for index mapping, working with styled text, and getting only changes (if any). This function calls edits.reset() first. edits can be null.

Returns
`A` | dest with the result string (or only changes) appended.

See also:

- `UCharacter.toUpperCase(Locale, String)`

### apply

    public String apply (Locale locale,
                    CharSequence src)

Uppercases a string. Casing is locale-dependent and context-sensitive. The result may be longer or shorter than the original.

Parameters
`locale` | `Locale`: The locale ID. Can be null for `Locale#getDefault`. (See `ULocale#toLocale`.)
`src` | `CharSequence`: The original string.

Returns
`String` | the result string.

See also:

- `UCharacter.toUpperCase(Locale, String)`

### omitUnchangedText

    public CaseMap.Upper omitUnchangedText ()

Returns an instance that behaves like this one but omits unchanged text when case-mapping with `Edits`.

Returns
`CaseMap.Upper` | an options object with this option.

Full name *
Email address *
Company / developer name
One of your Play Store app URLs *
Which best describes your business:*
Apps
Games
Apps & Games
*
*