Uses of Class
java.lang.SuppressWarnings
| Package | Description |
|---|---|
| com.squareup.okhttp.internal.http | |
| java.io | |
| java.lang | |
| java.lang.ref | |
| java.lang.reflect | |
| java.net | |
| java.sql | |
| java.util | |
| java.util.concurrent |
Utility classes commonly useful in concurrent programming.
|
| java.util.jar | |
| javax.crypto |
This package provides the classes and interfaces for cryptographic applications implementing algorithms for encryption, decryption, or
key agreement.
|
| javax.security.auth | |
| libcore.reflect | |
| org.conscrypt | |
| org.robovm.rt.bro | |
| org.robovm.rt.bro.ptr |
-
Uses of SuppressWarnings in com.squareup.okhttp.internal.http
Methods in com.squareup.okhttp.internal.http with annotations of type SuppressWarnings Modifier and Type Method Description ObjectHttpsURLConnectionImpl. getContent(Class[] types) -
Uses of SuppressWarnings in java.io
Methods in java.io with annotations of type SuppressWarnings Modifier and Type Method Description intLineNumberInputStream. read()Deprecated.Reads a single byte from the filtered stream and returns it as an integer in the range from 0 to 255.intLineNumberReader. read()Reads a single character from the source reader and returns it as an integer with the two higher-order bytes set to 0. -
Uses of SuppressWarnings in java.lang
Fields in java.lang with annotations of type SuppressWarnings Modifier and Type Field Description static Class<Boolean>Boolean. TYPETheClassobject that represents the primitive typeboolean.static Class<Byte>Byte. TYPETheClassobject that represents the primitive typebyte.static Class<Character>Character. TYPETheClassobject that represents the primitive typechar.static Class<Double>Double. TYPETheClassobject that represents the primitive typedouble.static Class<Float>Float. TYPETheClassobject that represents the primitive typefloat.static Class<Integer>Integer. TYPETheClassobject that represents the primitive typeint.static Class<Long>Long. TYPETheClassobject that represents the primitive typelong.static Class<Short>Short. TYPETheClassobject that represents the primitive typeshort.Methods in java.lang with annotations of type SuppressWarnings Modifier and Type Method Description <U> Class<? extends U>Class. asSubclass(Class<U> c)Casts thisClassto represent a subclass of the given class.TClass. cast(Object obj)Casts the given object to the type represented by thisClass.Class<? extends Enum>EnumConstantNotPresentException. enumType()Gets the enum type for which the constant name is missing.protected voidEnum. finalize()Enum types may not have finalizers.protected Enumeration<URL>ClassLoader. findResources(String resName)Finds an enumeration of URLs for the resource with the specified name.TThreadLocal. get()Returns the value of this variable for the current thread.<A extends Annotation>
APackage. getAnnotation(Class<A> annotationType)Returns the annotation associated with the specified annotation type and this package, if present.Constructor<T>Class. getConstructor(Class<?>... parameterTypes)Returns aConstructorobject which represents the public constructor matching the given parameter types.Constructor<T>Class. getDeclaredConstructor(Class<?>... parameterTypes)Returns aConstructorobject which represents the constructor matching the given parameter types that is declared by the class represented by thisClass.Class<E>Enum. getDeclaringClass()Returns the enum constant's declaring class.T[]Class. getEnumConstants()Returns theenumconstants associated with thisClass.Enumeration<URL>ClassLoader. getResources(String resName)Returns an enumeration of URLs for the resource with the specified name.static <T extends Enum<T>>
T[]Enum. getSharedConstants(Class<T> enumType)Returns a shared, mutable array containing the constants of this enum.TypeVariable<Class<T>>[]Class. getTypeParameters()Returns an array containingTypeVariableobjects for type variables declared by the generic class represented by thisClass.voidThreadGroup. resume()Deprecated.static voidSystem. runFinalizersOnExit(boolean flag)Deprecated.This method is unsafe.voidThreadGroup. stop()Deprecated.Requires deprecated methodThread.stop().voidThreadGroup. suspend()Deprecated.Requires deprecated methodThread.suspend().Constructors in java.lang with annotations of type SuppressWarnings Constructor Description EnumConstantNotPresentException(Class<? extends Enum> enumType, String constantName)Constructs a newEnumConstantNotPresentExceptionwith the current stack trace and a detail message based on the specified enum type and missing constant name. -
Uses of SuppressWarnings in java.lang.ref
Methods in java.lang.ref with annotations of type SuppressWarnings Modifier and Type Method Description Reference<? extends T>ReferenceQueue. poll()Returns the next available reference from the queue, removing it in the process. -
Uses of SuppressWarnings in java.lang.reflect
Methods in java.lang.reflect with annotations of type SuppressWarnings Modifier and Type Method Description Class<?>Member. getDeclaringClass()Returns the class that declares this member.TConstructor. newInstance(Object... args)Returns a new instance of the declaring class, initialized by dynamically invoking the constructor represented by thisConstructorobject. -
Uses of SuppressWarnings in java.net
Methods in java.net with annotations of type SuppressWarnings Modifier and Type Method Description ObjectContentHandler. getContent(URLConnection uConn, Class[] types)Returns the object pointed by the specified URL connectionuConn.ObjectURL. getContent(Class[] types)Equivalent toopenConnection().getContent(types).ObjectURLConnection. getContent(Class[] types)Returns an object representing the content of the resource thisURLConnectionis connected to.longURLConnection. getHeaderFieldDate(String field, long defaultValue)Returns the specified header value as a date in milliseconds since January 1, 1970 GMT. -
Uses of SuppressWarnings in java.sql
Methods in java.sql with annotations of type SuppressWarnings Modifier and Type Method Description intTime. getDate()Deprecated.This method is deprecated and must not be used.intTime. getDay()Deprecated.This method is deprecated and must not be used.intTime. getMonth()Deprecated.This method is deprecated and must not be used.intTime. getYear()Deprecated.This method is deprecated and must not be used.voidTime. setDate(int i)Deprecated.This method is deprecated and must not be used.voidTime. setMonth(int i)Deprecated.This method is deprecated and must not be used.voidTime. setYear(int i)Deprecated.This method is deprecated and must not be used.StringTimestamp. toString()Returns the timestamp formatted as a String in the JDBC Timestamp Escape format, which is"yyyy-MM-dd HH:mm:ss.nnnnnnnnn".Constructors in java.sql with annotations of type SuppressWarnings Constructor Description Time(int theHour, int theMinute, int theSecond)Deprecated.Use the constructorTime(long)instead.Timestamp(int theYear, int theMonth, int theDate, int theHour, int theMinute, int theSecond, int theNano)Deprecated.Use the constructorTimestamp(long)instead. -
Uses of SuppressWarnings in java.util
Fields in java.util with annotations of type SuppressWarnings Modifier and Type Field Description static ListCollections. EMPTY_LISTAn empty immutable instance ofList.static MapCollections. EMPTY_MAPAn empty immutable instance ofMap.static SetCollections. EMPTY_SETAn empty immutable instance ofSet.Methods in java.util with annotations of type SuppressWarnings Modifier and Type Method Description static <T> intCollections. binarySearch(List<? extends Comparable<? super T>> list, T object)Performs a binary search for the specified element in the specified sorted list.static <T> intCollections. binarySearch(List<? extends T> list, T object, Comparator<? super T> comparator)Performs a binary search for the specified element in the specified sorted list using the specified comparator.protected ObjectAbstractMap. clone()EnumMap<K,V>EnumMap. clone()Returns a shallow copy of thisEnumMap.EnumSet<E>EnumSet. clone()Creates a new enum set with the same elements as those contained in this enum set.ObjectHashMap. clone()Returns a shallow copy of this map.ObjectHashSet. clone()Returns a newHashSetwith the same elements and size as thisHashSet.ObjectHashtable. clone()Returns a newHashtablewith the same key/value pairs, capacity and load factor.ObjectLinkedList. clone()Returns a newLinkedListwith the same elements and size as thisLinkedList.ObjectTreeSet. clone()Returns a newTreeSetwith the same elements, size and comparator as thisTreeSet.ObjectVector. clone()Returns a new vector with the same elements, size, capacity and capacity increment as this vector.static <T> T[]Arrays. copyOfRange(T[] original, int start, int end)Copies elements fromoriginalinto a new array, from indexes start (inclusive) to end (exclusive).static <T, U> T[]Arrays. copyOfRange(U[] original, int start, int end, Class<? extends T[]> newType)Copies elements fromoriginalinto a new array, from indexes start (inclusive) to end (exclusive).EVector. elementAt(int location)Returns the element at the specified location in this vector.static <T> Enumeration<T>Collections. emptyEnumeration()Returns an enumeration containing no elements.static <T> Iterator<T>Collections. emptyIterator()Returns an iterator containing no elements.static <T> List<T>Collections. emptyList()Returns a type-safe empty, immutableList.static <K, V> Map<K,V>Collections. emptyMap()Returns a type-safe empty, immutableMap.static <T> Set<T>Collections. emptySet()Returns a type-safe empty, immutableSet.booleanEnumMap. equals(Object object)Compares the argument to the receiver, and returnstrueif the specifiedObjectis anEnumMapand bothEnumMaps contain the same mappings.EVector. firstElement()Returns the first element in this vector.EArrayList. get(int index)VEnumMap. get(Object key)Returns the value of the mapping with the specified key.SortedSet<E>TreeSet. headSet(E end)Returns aSortedSetof the specified portion of thisTreeSetwhich contains elements less than the end element.NavigableSet<E>TreeSet. headSet(E end, boolean endInclusive)Returns a view of the portion of this set whose elements are less than (or equal to, ifinclusiveis true)toElement.EVector. lastElement()Returns the last element in this vector.voidProperties. load(Reader in)Loads properties from the specifiedReader.byteScanner. nextByte(int radix)Returns the next token as abytewith the specified radix.doubleScanner. nextDouble()Returns the next token as adouble.floatScanner. nextFloat()Returns the next token as afloat.intScanner. nextInt(int radix)Returns the next token as anintwith the specified radix.longScanner. nextLong(int radix)Returns the next token as alongwith the specified radix.shortScanner. nextShort(int radix)Returns the next token as ashortwith the specified radix.voidObservable. notifyObservers(Object data)IfhasChanged()returnstrue, calls theupdate()method for every Observer in the list of observers using the specified argument.EStack. peek()Returns the element at the top of the stack without removing it.EStack. pop()Returns the element at the top of the stack and removes it.VEnumMap. put(K key, V value)Maps the specified key to the specified value.voidEnumMap. putAll(Map<? extends K,? extends V> map)Copies every mapping in the specifiedMapto thisEnumMap.VEnumMap. remove(Object key)Removes a mapping with the specified key from thisEnumMap.booleanPriorityQueue. remove(Object o)Removes the specified object from the priority queue.EVector. remove(int location)Removes the object at the specified location from this vector.static voidCollections. reverse(List<?> list)Modifies the specifiedListby reversing the order of the elements.static <T> Comparator<T>Collections. reverseOrder()A comparator which reverses the natural order of the elements.static voidCollections. rotate(List<?> lst, int dist)Rotates the elements inlistby the distancedistEVector. set(int location, E object)Replaces the element at the specified location in this vector with the specified object.static <T extends Comparable<? super T>>
voidCollections. sort(List<T> list)Sorts the given list in ascending natural order.static <T> voidCollections. sort(List<T> list, Comparator<? super T> comparator)Sorts the given list using the given comparator.NavigableSet<E>TreeSet. subSet(E start, boolean startInclusive, E end, boolean endInclusive)Returns a view of the portion of this set whose elements range fromfromElementtotoElement.SortedSet<E>TreeSet. subSet(E start, E end)Returns aSortedSetof the specified portion of thisTreeSetwhich contains elements greater or equal to the start element but less than the end element.static voidCollections. swap(List<?> list, int index1, int index2)Swaps the elements of listlistat indicesindex1andindex2.SortedSet<E>TreeSet. tailSet(E start)Returns aSortedSetof the specified portion of thisTreeSetwhich contains elements greater or equal to the start element.NavigableSet<E>TreeSet. tailSet(E start, boolean startInclusive)Returns a view of the portion of this set whose elements are greater than (or equal to, ifinclusiveis true)fromElement.<T> T[]ArrayDeque. toArray(T[] a)Returns an array containing all of the elements in this deque in proper sequence (from first to last element); the runtime type of the returned array is that of the specified array.<T> T[]LinkedList. toArray(T[] contents)Returns an array containing all elements contained in thisLinkedList.<T> T[]Vector. toArray(T[] contents)Returns an array containing all elements contained in this vector.static <E> Collection<E>Collections. unmodifiableCollection(Collection<? extends E> collection)Returns a wrapper on the specified collection which throws anUnsupportedOperationExceptionwhenever an attempt is made to modify the collection.static <E> List<E>Collections. unmodifiableList(List<? extends E> list)Returns a wrapper on the specified list which throws anUnsupportedOperationExceptionwhenever an attempt is made to modify the list.static <K, V> Map<K,V>Collections. unmodifiableMap(Map<? extends K,? extends V> map)Returns a wrapper on the specified map which throws anUnsupportedOperationExceptionwhenever an attempt is made to modify the map.static <E> Set<E>Collections. unmodifiableSet(Set<? extends E> set)Returns a wrapper on the specified set which throws anUnsupportedOperationExceptionwhenever an attempt is made to modify the set.static <K, V> SortedMap<K,V>Collections. unmodifiableSortedMap(SortedMap<K,? extends V> map)Returns a wrapper on the specified sorted map which throws anUnsupportedOperationExceptionwhenever an attempt is made to modify the sorted map.Constructors in java.util with annotations of type SuppressWarnings Constructor Description EnumMap(Map<K,? extends V> map)Constructs anEnumMapinitialized from the given map.HashMap()Constructs a new emptyHashMapinstance.Hashtable()Constructs a newHashtableusing the default capacity and load factor.TreeMap()Create a natural order, empty tree map whose keys must be mutually comparable and non-null.TreeMap(Comparator<? super K> comparator)Create a tree map ordered bycomparator.TreeMap(SortedMap<K,? extends V> copyFrom)Create a tree map with the ordering and key/value pairs ofcopyFrom. -
Uses of SuppressWarnings in java.util.concurrent
Classes in java.util.concurrent with annotations of type SuppressWarnings Modifier and Type Class Description classConcurrentSkipListMap<K,V>A scalable concurrentConcurrentNavigableMapimplementation.classPriorityBlockingQueue<E>An unbounded blocking queue that uses the same ordering rules as classPriorityQueueand supplies blocking retrieval operations.Methods in java.util.concurrent with annotations of type SuppressWarnings Modifier and Type Method Description booleanConcurrentHashMap. containsKey(Object key)Tests if the specified object is a key in this table.VExchanger. exchange(V x)Waits for another thread to arrive at this exchange point (unless the current thread is interrupted), and then transfers the given object to it, receiving its object in return.VExchanger. exchange(V x, long timeout, TimeUnit unit)Waits for another thread to arrive at this exchange point (unless the current thread is interrupted or the specified waiting time elapses), and then transfers the given object to it, receiving its object in return.ECopyOnWriteArrayList. get(int index)Iterator<E>SynchronousQueue. iterator()Returns an empty iterator in whichhasNextalways returnsfalse.VConcurrentHashMap. put(K key, V value)Maps the specified key to the specified value in this table.VConcurrentHashMap. putIfAbsent(K key, V value)If the specified key is not already associated with a value, associate it with the given value.<T> T[]ArrayBlockingQueue. toArray(T[] a)Returns an array containing all of the elements in this queue, in proper sequence; the runtime type of the returned array is that of the specified array.<T> T[]ConcurrentLinkedQueue. toArray(T[] a)Returns an array containing all of the elements in this queue, in proper sequence; the runtime type of the returned array is that of the specified array.<T> T[]CopyOnWriteArrayList. toArray(T[] contents)Object[]LinkedBlockingDeque. toArray()Returns an array containing all of the elements in this deque, in proper sequence (from first to last element).<T> T[]LinkedBlockingDeque. toArray(T[] a)Returns an array containing all of the elements in this deque, in proper sequence; the runtime type of the returned array is that of the specified array.<T> T[]LinkedBlockingQueue. toArray(T[] a)Returns an array containing all of the elements in this queue, in proper sequence; the runtime type of the returned array is that of the specified array.Constructors in java.util.concurrent with annotations of type SuppressWarnings Constructor Description ConcurrentHashMap(int initialCapacity, float loadFactor, int concurrencyLevel)Creates a new, empty map with the specified initial capacity, load factor and concurrency level.CopyOnWriteArrayList(Collection<? extends E> collection)Creates a new instance containing the elements ofcollection. -
Uses of SuppressWarnings in java.util.jar
Methods in java.util.jar with annotations of type SuppressWarnings Modifier and Type Method Description ObjectAttributes. clone()ObjectAttributes. put(Object key, Object value)Stores key/value pairs in thisAttributes.Constructors in java.util.jar with annotations of type SuppressWarnings Constructor Description Attributes(Attributes attrib)Constructs anAttributesinstance obtaining keys and values from the parameterattrib.Manifest(Manifest man)Creates a newManifestinstance. -
Uses of SuppressWarnings in javax.crypto
Methods in javax.crypto with annotations of type SuppressWarnings Modifier and Type Method Description protected abstract KeySpecSecretKeyFactorySpi. engineGetKeySpec(SecretKey key, Class keySpec)Returns the key specification of the specified secret key.KeySpecSecretKeyFactory. getKeySpec(SecretKey key, Class keySpec)Returns the key specification of the specified secret key. -
Uses of SuppressWarnings in javax.security.auth
Methods in javax.security.auth with annotations of type SuppressWarnings Modifier and Type Method Description static <T> TSubject. doAs(Subject subject, PrivilegedAction<T> action)Runs the code defined byactionusing the permissions granted to theSubjectitself and to the code as well.static <T> TSubject. doAs(Subject subject, PrivilegedExceptionAction<T> action)Runs the code defined byactionusing the permissions granted to the subject and to the code itself.static <T> TSubject. doAsPrivileged(Subject subject, PrivilegedAction<T> action, AccessControlContext context)Run the code defined byactionusing the permissions granted to theSubjectand to the code itself, additionally providing a more specific context.static <T> TSubject. doAsPrivileged(Subject subject, PrivilegedExceptionAction<T> action, AccessControlContext context)Runs the code defined byactionusing the permissions granted to the subject and to the code itself, additionally providing a more specific context. -
Uses of SuppressWarnings in libcore.reflect
Classes in libcore.reflect with annotations of type SuppressWarnings Modifier and Type Class Description classAnnotationFactoryThe annotation implementation based on dynamically generated proxy instances.classAnnotationMemberThis class represents member element of an annotation. -
Uses of SuppressWarnings in org.conscrypt
Methods in org.conscrypt with annotations of type SuppressWarnings Modifier and Type Method Description voidOpenSSLSocketImpl. clientCertificateRequested(byte[] keyTypeBytes, byte[][] asn1DerEncodedPrincipals)voidOpenSSLSocketImpl. handshakeCompleted()voidOpenSSLSocketImpl. verifyCertificateChain(byte[][] bytes, String authMethod) -
Uses of SuppressWarnings in org.robovm.rt.bro
Methods in org.robovm.rt.bro with annotations of type SuppressWarnings Modifier and Type Method Description protected static <T extends Bits<T>>
T[]Bits. _values(Class<T> cls)static <T extends Struct<T>>
voidStruct.Marshaler. array1DToNative(T[] o, long handle, long flags, int d1)static <T extends Struct<T>>
T[]Struct.Marshaler. array1DToObject(Class<T[]> arrayClass, long handle, long flags, int d1)static <T extends Struct<T>>
voidStruct.Marshaler. array2DToNative(T[][] o, long handle, long flags, int d1, int d2)static <T extends Struct<T>>
T[][]Struct.Marshaler. array2DToObject(Class<T[][]> arrayClass, long handle, long flags, int d1, int d2)static <T extends Struct<T>>
voidStruct.Marshaler. array3DToNative(T[][][] o, long handle, long flags, int d1, int d2, int d3)static <T extends Struct<T>>
T[][][]Struct.Marshaler. array3DToObject(Class<T[][][]> arrayClass, long handle, long flags, int d1, int d2, int d3)<U extends NativeObject>
UNativeObject. as(Class<U> type)Casts thisNativeObjectto anotherNativeObjecttype.<U extends NativeObject>
UStruct. as(Class<U> type)Set<T>Bits. asSet()TBits. clear(T bits)TStruct. copy(int n)TStruct. copyWithMalloc(int n)booleanBits. equals(Object obj)Iterator<T>Struct. iterator()Iterator<T>Struct. iterator(int n)TStruct. next(long delta)T[]Struct. toArray(int n)static <S extends NativeObject>
SMarshalerLookup. toObject(Class<S> type, long handle)Convenience method which finds a marshaler method and runs it converting the specified handle to the specified type.TLazyGlobalValue. value()Returns the value of theGlobalValue.static <T extends Bits<T>>
TBits. with(T t)protected TStruct. wrap(long address) -
Uses of SuppressWarnings in org.robovm.rt.bro.ptr
Methods in org.robovm.rt.bro.ptr with annotations of type SuppressWarnings Modifier and Type Method Description TPtr. set(long handle)TPtr. set(S o)
Thread.resume().