GlueGen v2.6.0-rc-20250712
GlueGen, Native Binding Generator for Java™ (public API).
Package com.jogamp.common.util

Copyright 2015 JogAmp Community. More...

Packages

package  awt
 Copyright 2012 JogAmp Community.
 
package  cache
 Copyright 2011 JogAmp Community.
 
package  locks
 Copyright 2010 JogAmp Community.
 

Classes

class  ArrayHashMap
 HashMap implementation backed by an ArrayList to preserve order of values. More...
 
class  ArrayHashSet
 Hashed ArrayList implementation of the List and Collection interface. More...
 
class  BitDemoData
 
interface  Bitfield
 Simple bitfield interface for efficient bit storage access in O(1). More...
 
class  Bitstream
 Versatile Bitstream implementation supporting: More...
 
class  CustomCompress
 All in memory inflater / deflator for small chunks using streams. More...
 
class  CustomDeflate
 
class  CustomInflate
 
class  FloatStack
 Simple primitive-type stack. More...
 
interface  Function
 Generic function interface to perform an action w/ given optional arguments producing an optional result. More...
 
class  FunctionTask
 Helper class to provide a Runnable queue implementation with a Runnable wrapper which notifies after execution for the invokeAndWait() semantics. More...
 
class  HashUtil
 
class  IntCloneable
 
class  IntegerStack
 Simple primitive-type stack. More...
 
class  InterruptedRuntimeException
 Unchecked exception propagating an InterruptedException where handling of the latter is not desired. More...
 
interface  InterruptSource
 Interface exposing java.lang.Thread#interrupt() source, intended for java.lang.Thread specializations. More...
 
class  IntIntHashMap
 Fast HashMap for primitive data. More...
 
class  IntIntObjUniqueRndValues
 
class  IntIntUniqueRndValues
 
class  IntLongHashMap
 Fast HashMap for primitive data. More...
 
class  IntObjectHashMap
 Fast HashMap for primitive data. More...
 
class  IOUtil
 
class  JarUtil
 
class  JogampVersion
 
class  LFRingbuffer
 Simple implementation of Ringbuffer, exposing lock-free get*(..) and put*(..) methods. More...
 
class  LongIntHashMap
 Fast HashMap for primitive data. More...
 
class  LongIntUniqueRndValues
 
class  LongLongHashMap
 Fast HashMap for primitive data. More...
 
class  LongObjectHashMap
 Fast HashMap for primitive data. More...
 
interface  PerfCounterCtrl
 Simple performance counter controller. More...
 
interface  PrimitiveStack
 Simple primitive-type stack. More...
 
class  PropertyAccess
 Helper routines for accessing properties. More...
 
class  ReflectionUtil
 
interface  Ringbuffer
 Ring buffer interface, a.k.a circular buffer. More...
 
class  RingBuffer01Base
 
interface  RunnableExecutor
 
class  RunnableTask
 Helper class to provide a Runnable queue implementation with a Runnable wrapper which notifies after execution for the invokeAndWait() semantics. More...
 
class  SecurityUtil
 
class  SHASum
 Utility class to produce secure hash (SHA) sums over diverse input sources. More...
 
class  SourcedInterruptedException
 InterruptedException, which may include the source, see getInterruptSource(). More...
 
class  StringUtil
 Basic utility functions for String and CharSequence in general. More...
 
class  SyncedRingbuffer
 Simple synchronized implementation of Ringbuffer. More...
 
class  TaskBase
 Helper class to provide a Runnable queue implementation with a Runnable wrapper which notifies after execution for the invokeAndWait() semantics. More...
 
class  TestArrayHashMap01
 
class  TestArrayHashSet01
 
class  TestBitfield00
 Test basic bitfield operations for Bitfield. More...
 
class  TestBitstream00
 Test basic bit operations for Bitstream. More...
 
class  TestBitstream01
 Test Bitstream w/ raw linear and bulk read/write access w/o semantics: More...
 
class  TestBitstream02
 Test Bitstream w/ int8 read/write access w/ semantics as well as with aligned and unaligned access. More...
 
class  TestBitstream03
 Test Bitstream w/ int16 read/write access w/ semantics as well as with aligned and unaligned access. More...
 
class  TestBitstream04
 Test Bitstream w/ int32 read/write access w/ semantics as well as with aligned and unaligned access. More...
 
class  TestFloatStack01
 
class  TestIntIntHashMap
 
class  TestIntObjectHashMap
 
class  TestIOUtil01
 
class  TestIteratorIndexCORE
 
class  TestJarUtil
 
class  TestLFRingBuffer01
 
class  TestLongIntHashMap
 
class  TestPlatform01
 
class  TestRunnableTask01
 
class  TestStringUtil
 
class  TestSyncRingBuffer01
 
class  TestSystemPropsAndEnvs
 
class  TestTempJarCache
 
class  TestValueConversion
 
class  TestVersionInfo
 
class  TestVersionNumber
 
class  TestVersionSemantics
 Compares a defined previous version with the current version. More...
 
class  TestWorkerThread01
 
class  TSPrinter
 A simple millisecond timestamp prepending print*() wrapper for a PrintStream. More...
 
class  UnsafeUtil
 Utility methods allowing easy access to certain sun.misc.Unsafe functionality. More...
 
class  ValueConv
 Copyright 2012 JogAmp Community. More...
 
class  VersionNumber
 Simple version number class containing a version number either being defined explicit or derived from a string. More...
 
class  VersionNumberString
 VersionNumber specialization, holding the versionString this instance is derived from. More...
 
class  VersionUtil
 
class  WeakIdentityHashMap
 Implements a combination of WeakHashMap and IdentityHashMap. More...
 
class  WorkerThread
 A re-start()'able, pause(boolean)'able and interrupt'able worker thread with an optional minimum execution duration, see getSleptDuration() executing a task periodically. More...
 

Detailed Description

Copyright 2015 JogAmp Community.

Copyright 2023 JogAmp Community.

Author: Sven Gothel sgoth.nosp@m.el@j.nosp@m.ausof.nosp@m.t.co.nosp@m.m Copyright (c) 2022-2023 Gothel Software e.K.

Copyright 2019 JogAmp Community.

Author: Sven Gothel sgoth.nosp@m.el@j.nosp@m.ausof.nosp@m.t.co.nosp@m.m Copyright (c) 2023 Gothel Software e.K.

Copyright 2011 JogAmp Community.

Copyright 2013 JogAmp Community.

Copyright 2012 JogAmp Community.

Copyright 2014 JogAmp Community.

Copyright 2010 JogAmp Community.

All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY JogAmp Community `‘AS IS’' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL JogAmp Community OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

The views and conclusions contained in the software and documentation are those of the authors and should not be interpreted as representing official policies, either expressed or implied, of JogAmp Community.

All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY JogAmp Community `‘AS IS’' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL JogAmp Community OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

The views and conclusions contained in the software and documentation are those of the authors and should not be interpreted as representing official policies, either expressed or implied, of JogAmp Community. Created on Sunday, March 28 2010 21:01

Copyright (c) 2023 JogAmp Community.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Copyright (c) 2022-2023 JogAmp Community.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY JogAmp Community `‘AS IS’' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL JogAmp Community OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

The views and conclusions contained in the software and documentation are those of the authors and should not be interpreted as representing official policies, either expressed or implied, of JogAmp Community.

Original source code of this class taken from Apache Avro https://github.com/apache/avro/blob/master/lang/java/avro/src/main/java/org/apache/avro/util/WeakIdentityHashMap.java commit 70260919426f89825ca148f5ee815f3b2cf4764d. Up until commit 70260919426f89825ca148f5ee815f3b2cf4764d, this code has been licensed as described below:

Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

https://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.