1 46 47 package org.jfree.util; 48 49 54 public class BooleanList extends AbstractObjectList { 55 56 57 private static final long serialVersionUID = -8543170333219422042L; 58 59 62 public BooleanList() { 63 } 64 65 72 public Boolean getBoolean(final int index) { 73 return (Boolean ) get(index); 74 } 75 76 83 public void setBoolean(final int index, final Boolean b) { 84 set(index, b); 85 } 86 87 94 public boolean equals(final Object o) { 95 96 if (o instanceof BooleanList) { 97 return super.equals(o); 98 } 99 return false; 100 } 101 102 107 public int hashCode() { 108 return super.hashCode(); 109 } 110 } 111 | Popular Tags |