Package com.perforce.p4java.mapapi
Class MapStrings
- All Implemented Interfaces:
Serializable,Cloneable,Iterable<MapStrings.MapString>,Collection<MapStrings.MapString>,List<MapStrings.MapString>,RandomAccess
Mapstrings.h - MapTable substrings
Public Classes:
MapStrings - probe strings for fast mapping
Public Methods:
MapStrings::Count() Returns the number of initial substrings found in the MapStrings.
MapStrings::Dump() Print out the strings on the standard output.
MapStrings::Get( int n ) Gets the n'th string (starting at 0) from the MapStrings.
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class java.util.AbstractList
modCount -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoiddump(StringBuffer out) voidget(int n, MapHalf string, AtomicBoolean hasSubDirs) String[]toArray()Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, equals, forEach, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, trimToSizeMethods inherited from class java.util.AbstractCollection
containsAll, toStringMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, stream, toArrayMethods inherited from interface java.util.List
containsAll
-
Constructor Details
-
MapStrings
public MapStrings()
-
-
Method Details
-
add
-
dump
-
get
-
toArray
- Specified by:
toArrayin interfaceCollection<MapStrings.MapString>- Specified by:
toArrayin interfaceList<MapStrings.MapString>- Overrides:
toArrayin classArrayList<MapStrings.MapString>
-