Searched defs:Attribute (Results 1 - 5 of 5) sorted by relevance
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
H A D | AttributedCharacterIteratorTest.java | 155 * @tests java.text.AttributedCharacterIterator#getRunLimit(java.text.AttributedCharacterIterator$Attribute) 157 public void test_getRunLimitLjava_text_AttributedCharacterIterator$Attribute() { 159 as.addAttribute(AttributedCharacterIterator.Attribute.LANGUAGE, "a", 2, 163 2, it.getRunLimit(AttributedCharacterIterator.Attribute.LANGUAGE)); 166 as.addAttribute(AttributedCharacterIterator.Attribute.LANGUAGE, null, 170 4, it.getRunLimit(AttributedCharacterIterator.Attribute.LANGUAGE));
|
/libcore/ojluni/src/main/java/java/text/ |
H A D | AttributedCharacterIterator.java | 69 * Attribute keys are instances of {@link AttributedCharacterIterator.Attribute} and its 72 * @see AttributedCharacterIterator.Attribute 89 public static class Attribute implements Serializable { class in interface:AttributedCharacterIterator 92 * The name of this {@code Attribute}. The name is used primarily by {@code readResolve} 100 private static final Map<String, Attribute> instanceMap = new HashMap<>(7); 103 * Constructs an {@code Attribute} with the given name. 105 * @param name the name of {@code Attribute} 107 protected Attribute(String name) { method in class:AttributedCharacterIterator.Attribute 109 if (this.getClass() == Attribute [all...] |
H A D | AttributedString.java | 29 import java.text.AttributedCharacterIterator.Attribute; 64 Vector<Attribute> runAttributes[]; // vector of attribute keys for each run 95 Map<Attribute,Object> last = null; 106 Map<Attribute,Object> attrs = iterator.getAttributes(); 143 Map<? extends Attribute, ?> attributes) 159 Vector<Attribute> newRunAttributes = new Vector<>(attributeCount); 164 Iterator<? extends Map.Entry<? extends Attribute, ?>> iterator = attributes.entrySet().iterator(); 166 Map.Entry<? extends Attribute, ?> entry = iterator.next(); 234 Attribute[] attributes) { 256 HashSet<Attribute> key 142 AttributedString(String text, Map<? extends Attribute, ?> attributes) argument 369 addAttributes(Map<? extends Attribute, ?> attributes, int beginIndex, int endIndex) argument [all...] |
/libcore/luni/src/test/java/libcore/java/text/ |
H A D | OldAttributedStringTest.java | 97 attrString2 = new AttributedString(iter, 2, 7, new AttributedCharacterIterator.Attribute[] {}); 106 * int, int, AttributedCharacterIterator.Attribute[]) Test of method 108 * int, int, AttributedCharacterIterator.Attribute[]). Case 1: Try to 114 public void test_ConstructorLAttributedCharacterIteratorII$Ljava_text_AttributedCharacterIterator$Attribute() { 143 AttributedCharacterIterator.Attribute[] attributes = new AttributedCharacterIterator.Attribute[1]; 154 * int, int, Map<? extends AttributedCharacterIterator.Attribute,?>) 158 * AttributedCharacterIterator.Attribute,?>). Case 1: Try to 170 new WeakHashMap<AttributedCharacterIterator.Attribute, String>()); 185 Map<AttributedCharacterIterator.Attribute, Strin [all...] |
/libcore/ojluni/src/main/java/java/security/ |
H A D | KeyStore.java | 461 public default Set<Attribute> getAttributes() { 462 return Collections.<Attribute>emptySet(); 471 public interface Attribute { interface in interface:KeyStore.Entry 499 private final Set<Attribute> attributes; 526 this(privateKey, chain, Collections.<Attribute>emptySet()); 556 Set<Attribute> attributes) { 645 public Set<Attribute> getAttributes() { 674 private final Set<Attribute> attributes; 690 this.attributes = Collections.<Attribute>emptySet(); 708 public SecretKeyEntry(SecretKey secretKey, Set<Attribute> attribute [all...] |
Completed in 116 milliseconds