A B D E F G H I L N O P S T V 
All Classes All Packages

A

AtomicBigInteger - Class in io.github.astrapi69.id.generate.atomic
The class AtomicBigInteger holds a BigInteger value that may be updated atomically
AtomicBigInteger(BigInteger) - Constructor for class io.github.astrapi69.id.generate.atomic.AtomicBigInteger
Creates a new AtomicInteger with the given initial value.

B

BigIntegerIdGenerator - Class in io.github.astrapi69.id.generate
The class BigIntegerIdGenerator is an implementation of IdGenerator interface with id type of BigInteger object

D

DEFAULT_SEQUENCE_ID_KEY - Static variable in enum io.github.astrapi69.id.generate.enumtype.SequenceValue
 
DEFAULT_SEQUENCE_INITIAL_VALUE - Static variable in enum io.github.astrapi69.id.generate.enumtype.SequenceValue
 
DEFAULT_SEQUENCE_PREFIX - Static variable in enum io.github.astrapi69.id.generate.enumtype.SequenceValue
 

E

equals(Object) - Method in class io.github.astrapi69.id.generate.SequenceLongIdGenerator

F

finalize() - Method in class io.github.astrapi69.id.generate.SequenceLongIdGenerator

G

get() - Method in class io.github.astrapi69.id.generate.atomic.AtomicBigInteger
Gets the current value.
get(long) - Static method in class io.github.astrapi69.id.generate.SequenceLongIdGenerator
Gets the SequenceLongIdGenerator from the given sequenceId from the preference or create one if not
getAndIncrement() - Method in class io.github.astrapi69.id.generate.atomic.AtomicBigInteger
Atomically increments by one the current value.
getCurrentId() - Method in class io.github.astrapi69.id.generate.BigIntegerIdGenerator
Gets the current id value
getCurrentId() - Method in class io.github.astrapi69.id.generate.IntegerIdGenerator
Gets the current id value
getCurrentId() - Method in class io.github.astrapi69.id.generate.LongIdGenerator
Gets the current id value
getCurrentId() - Method in class io.github.astrapi69.id.generate.SequenceLongIdGenerator
Gets the current id value
getCurrentId() - Method in class io.github.astrapi69.id.generate.SystemTimeIdGenerator
Gets the current id value
getDefaultIdGenerator() - Static method in class io.github.astrapi69.id.generate.SequenceLongIdGenerator
Gets the default SequenceLongIdGenerator object
getInstance() - Static method in class io.github.astrapi69.id.generate.BigIntegerIdGenerator
Gets the single instance of BigIntegerIdGenerator.
getInstance() - Static method in class io.github.astrapi69.id.generate.IntegerIdGenerator
Gets the single instance of IntegerIdGenerator object
getInstance() - Static method in class io.github.astrapi69.id.generate.LongIdGenerator
Gets the single instance of LongIdGenerator object
getInstance() - Static method in class io.github.astrapi69.id.generate.SystemTimeIdGenerator
Gets the single instance of SystemTimeIdGenerator.
getNextId() - Method in class io.github.astrapi69.id.generate.BigIntegerIdGenerator
getNextId() - Method in class io.github.astrapi69.id.generate.IntegerIdGenerator
getNextId() - Method in class io.github.astrapi69.id.generate.LongIdGenerator
getNextId() - Method in class io.github.astrapi69.id.generate.SequenceLongIdGenerator
getNextId() - Method in class io.github.astrapi69.id.generate.SystemTimeIdGenerator

H

hashCode() - Method in class io.github.astrapi69.id.generate.SequenceLongIdGenerator

I

id.generate - module id.generate
The MIT License Copyright (C) 2021 Asterios Raptis 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.
incrementAndGet() - Method in class io.github.astrapi69.id.generate.atomic.AtomicBigInteger
Atomically increments by one the current value
INITIAL_VALUE - io.github.astrapi69.id.generate.enumtype.SequenceValue
The enum value for the default initial value
IntegerIdGenerator - Class in io.github.astrapi69.id.generate
The class IntegerIdGenerator is an implementation of IdGenerator interface with id type of Integer object
io.github.astrapi69.id.generate - package io.github.astrapi69.id.generate
This package provides id generators for Integer, Long and BigInteger objects
io.github.astrapi69.id.generate.atomic - package io.github.astrapi69.id.generate.atomic
This package provides an atomic class from an BigInteger object
io.github.astrapi69.id.generate.enumtype - package io.github.astrapi69.id.generate.enumtype
This package provides an enum class that holds constants for default sequence values
isPersistOnExit() - Method in class io.github.astrapi69.id.generate.SequenceLongIdGenerator
Gets the flag if this SequenceLongIdGenerator object will be persisted to the preferences

L

LongIdGenerator - Class in io.github.astrapi69.id.generate
The class LongIdGenerator is an implementation of IdGenerator interface with id type of Long object

N

newSequenceIdGenerator() - Static method in class io.github.astrapi69.id.generate.SequenceLongIdGenerator
Factory method for create a new custom SequenceLongIdGenerator with an initial value of 1
newSequenceIdGenerator(long) - Static method in class io.github.astrapi69.id.generate.SequenceLongIdGenerator
Factory method for create a new custom SequenceLongIdGenerator with an initial value

O

of(Integer) - Static method in class io.github.astrapi69.id.generate.IntegerIdGenerator
Factory method for create a new custom IntegerIdGenerator with an initial value
of(Long) - Static method in class io.github.astrapi69.id.generate.LongIdGenerator
Factory method for create a new custom LongIdGenerator with an initial value
of(BigInteger) - Static method in class io.github.astrapi69.id.generate.BigIntegerIdGenerator
Factory method for create a new custom BigIntegerIdGenerator with an initial value

P

persist() - Method in class io.github.astrapi69.id.generate.SequenceLongIdGenerator
Persist the current SequenceLongIdGenerator object to the preferences

S

SEQUENCE_ID_KEY - io.github.astrapi69.id.generate.enumtype.SequenceValue
The enum value for the default sequence id key for the map
SEQUENCE_PREFIX - io.github.astrapi69.id.generate.enumtype.SequenceValue
The enum value for the default sequence prefix
SequenceLongIdGenerator - Class in io.github.astrapi69.id.generate
The class SequenceLongIdGenerator is an implementation of IdGenerator interface with id type of Long object.
SequenceValue - Enum in io.github.astrapi69.id.generate.enumtype
The enum class SequenceValue holds constants for default sequence values
setPersistOnExit(boolean) - Method in class io.github.astrapi69.id.generate.SequenceLongIdGenerator
Sets the flag if this SequenceLongIdGenerator object will be persisted to the preferences
SystemTimeIdGenerator - Class in io.github.astrapi69.id.generate
The class SystemTimeIdGenerator is an base implementation of IdGenerator interface

T

toString() - Method in class io.github.astrapi69.id.generate.SequenceLongIdGenerator

V

valueOf(String) - Static method in enum io.github.astrapi69.id.generate.enumtype.SequenceValue
Returns the enum constant of this type with the specified name.
values() - Static method in enum io.github.astrapi69.id.generate.enumtype.SequenceValue
Returns an array containing the constants of this enum type, in the order they are declared.
A B D E F G H I L N O P S T V 
All Classes All Packages