- Add the Codota plugin to your IDE and get smart completions

private void myMethod () {Charset c =

- String charsetName;Charset.forName(charsetName)
- Charset.defaultCharset()
- ContentType contentType;contentType.getCharset()
- Smart code suggestions by Codota
}

/** * Simplest variation; determine keyTimes based on even division of 0-1 * range based on number of keyValues. This constructor assumes LINEAR * interpolation. * * @param keyValues * values that will be assumed at each time in keyTimes */ public KeyFrames(KeyValues<T> keyValues) { init(keyValues, null, (TimelineEase) null); }

/** * Simplest variation; determine keyTimes based on even division of 0-1 * range based on number of keyValues. This constructor assumes LINEAR * interpolation. * * @param keyValues * values that will be assumed at each time in keyTimes */ public KeyFrames(KeyValues<T> keyValues) { init(keyValues, null, (TimelineEase) null); }

/** * Simplest variation; determine keyTimes based on even division of 0-1 * range based on number of keyValues. This constructor assumes LINEAR * interpolation. * * @param keyValues * values that will be assumed at each time in keyTimes */ public KeyFrames(KeyValues<T> keyValues) { init(keyValues, null, (TimelineEase) null); }

/** * Utility constructor that assumes even division of times according to size * of keyValues and interpolation according to interpolators parameter. * * @param keyValues * values that the animation will assume at each of the * corresponding times in keyTimes * @param interpolators * collection of Interpolators that control the calculation of * values in each of the intervals defined by keyFrames. If this * value is null, a {@link org.pushingpixels.trident.ease.Linear} Interpolator will be used for * all intervals. If there is only one interpolator, that * interpolator will be used for all intervals. Otherwise, there * must be a number of interpolators equal to the number of * intervals (which is one less than the number of keyTimes). * @throws IllegalArgumentException * The number of interpolators must either be zero * (interpolators == null), one, or one less than the size of * keyTimes. */ public KeyFrames(KeyValues<T> keyValues, TimelineEase... interpolators) { init(keyValues, null, interpolators); }

/** * This variant takes both keyValues (values at each point in time) and * keyTimes (times at which values are sampled). * * @param keyValues * values that the animation will assume at each of the * corresponding times in keyTimes * @param keyTimes * times at which the animation will assume the corresponding * values in keyValues * @throws IllegalArgumentException * keyTimes and keySizes must have the same number of elements * since these structures are meant to have corresponding * entries; an exception is thrown otherwise. */ public KeyFrames(KeyValues<T> keyValues, KeyTimes keyTimes) { init(keyValues, keyTimes, (TimelineEase) null); }

/** * This variant takes both keyValues (values at each point in time) and * keyTimes (times at which values are sampled). * * @param keyValues * values that the animation will assume at each of the * corresponding times in keyTimes * @param keyTimes * times at which the animation will assume the corresponding * values in keyValues * @throws IllegalArgumentException * keyTimes and keySizes must have the same number of elements * since these structures are meant to have corresponding * entries; an exception is thrown otherwise. */ public KeyFrames(KeyValues<T> keyValues, KeyTimes keyTimes) { init(keyValues, keyTimes, (TimelineEase) null); }

/** * This variant takes both keyValues (values at each point in time) and * keyTimes (times at which values are sampled). * * @param keyValues * values that the animation will assume at each of the * corresponding times in keyTimes * @param keyTimes * times at which the animation will assume the corresponding * values in keyValues * @throws IllegalArgumentException * keyTimes and keySizes must have the same number of elements * since these structures are meant to have corresponding * entries; an exception is thrown otherwise. */ public KeyFrames(KeyValues<T> keyValues, KeyTimes keyTimes) { init(keyValues, keyTimes, (TimelineEase) null); }

/** * Utility constructor that assumes even division of times according to size * of keyValues and interpolation according to interpolators parameter. * * @param keyValues * values that the animation will assume at each of the * corresponding times in keyTimes * @param interpolators * collection of Interpolators that control the calculation of * values in each of the intervals defined by keyFrames. If this * value is null, a {@link LinearInterpolator} will be used for * all intervals. If there is only one interpolator, that * interpolator will be used for all intervals. Otherwise, there * must be a number of interpolators equal to the number of * intervals (which is one less than the number of keyTimes). * @throws IllegalArgumentException * The number of interpolators must either be zero * (interpolators == null), one, or one less than the size of * keyTimes. */ public KeyFrames(KeyValues<T> keyValues, TimelineEase... interpolators) { init(keyValues, null, interpolators); }

/** * Utility constructor that assumes even division of times according to size * of keyValues and interpolation according to interpolators parameter. * * @param keyValues * values that the animation will assume at each of the * corresponding times in keyTimes * @param interpolators * collection of Interpolators that control the calculation of * values in each of the intervals defined by keyFrames. If this * value is null, a {@link LinearInterpolator} will be used for * all intervals. If there is only one interpolator, that * interpolator will be used for all intervals. Otherwise, there * must be a number of interpolators equal to the number of * intervals (which is one less than the number of keyTimes). * @throws IllegalArgumentException * The number of interpolators must either be zero * (interpolators == null), one, or one less than the size of * keyTimes. */ public KeyFrames(KeyValues<T> keyValues, TimelineEase... interpolators) { init(keyValues, null, interpolators); }

init(keyValues, keyTimes, interpolators);

init(keyValues, keyTimes, interpolators);

init(keyValues, keyTimes, interpolators);