Certain methods of this interface are considered "destructive" and are called "mutator" methods in that they modify the group of objects contained within the collection on which they operate. They can be specified to throwUnsupportedOperationExceptionif this collection implementation does not support the...
Methods inherited from interface java.lang.Iterable forEach Method Detail size int size() Returns the number of elements in this collection. If this collection contains more thanInteger.MAX_VALUEelements, returnsInteger.MAX_VALUE. Returns:
The Collections framework has always provided a number of so-called "bulk operations" as part of its API. These include methods that operate on entire collections, such ascontainsAll,addAll,removeAll, etc. Do not confuse those methods with the aggregate operations that were introduced in JDK 8....
Failure to follow this advice may result in non-deterministic behavior. The returned collection doesnotpass thehashCodeandequalsoperations through to the backing collection, but relies onObject's equals and hashCode methods. This is necessary to preserve the contracts of these operations in the case ...
Extension Methods 展开表 JavaCast<TResult>(IJavaObject) Performs an Android runtime-checked type conversion. JavaCast<TResult>(IJavaObject) GetJniTypeName(IJavaPeerable) Gets the JNI name of the type of the instance self. JavaAs<TResult>(IJavaPeerable) Try to coerce self to...
fragmentation, working within the user defined pause times. This is beyond the capability of both the previous methods. CMS (Concurrent Mark Sweep ) garbage collection does not do compaction. ParallelOld garbage collection performs only whole-heap compaction, which results in considerable pause times....
Methods inherited fromjava.lang.Object java.lang.Object.clonejava.lang.Object.equalsjava.lang.Object.finalizejava.lang.Object.getClassjava.lang.Object.hashCodejava.lang.Object.notifyjava.lang.Object.notifyAlljava.lang.Object.toStringjava.lang.Object.waitjava.lang.Object.waitjava.lang.Object.wait ...
Methods inherited from class java.lang.Object getClass,notify,notifyAll,wait,wait,wait Constructor Detail CollectionSummary public CollectionSummary() withArn publicCollectionSummarywithArn(Stringarn) The ARN of the collection summary. Can be used to reference the collection in IAM policy or cross-acco...
Methods inherited from class java.lang.Object getClass,notify,notifyAll,wait,wait,wait Constructor Detail DescribeCollectionRequest public DescribeCollectionRequest()
All MethodsInstance MethodsAbstract Methods Modifier and TypeMethod and Description void addPoint(IPoint inPoint, java.lang.Object before, java.lang.Object after) Adds a vertex to a Path, Ring, Polyline, or Polygon; or adds a reference to the input point to a Multipoint, TriangleFan, or ...