ttomcat-1778514358873.zip-extract/_dependencies/maven/com.h2database_h2-2.2.220/org/h2/value/VersionedValue.java

Path
ttomcat-1778514358873.zip-extract/_dependencies/maven/com.h2database_h2-2.2.220/org/h2/value/VersionedValue.java
Status
scanned
Type
file
Name
VersionedValue.java
Extension
.java
Programming language
Java
Mime type
text/plain
File type
ASCII text
Tag

      
    
Rootfs path

      
    
Size
824 (824 bytes)
MD5
ada8709f2ccdb0d04ed9558a923a3dd8
SHA1
a46d3c941fc8d42e644333f9a3b9e41f8f95aa00
SHA256
5bf3c6b92dd25e0a7302533b2583ff49e340c5ce5636c62c73e84c65728825bf
SHA512

      
    
SHA1_git
83185733db14cd7f12f7f7e23c744c206cb8bc9e
Is binary

      
    
Is text
True
Is archive

      
    
Is media

      
    
Is legal

      
    
Is manifest

      
    
Is readme

      
    
Is top level

      
    
Is key file

      
    
VersionedValue.java | 824 bytes |

/* * Copyright 2004-2023 H2 Group. Multiple-Licensed under the MPL 2.0, * and the EPL 1.0 (https://h2database.com/html/license.html). * Initial Developer: H2 Group */ package org.h2.value; /** * A versioned value (possibly null). * It contains current value and latest committed value if current one is uncommitted. * Also for uncommitted values it contains operationId - a combination of * transactionId and logId. */ public class VersionedValue<T> { protected VersionedValue() {} public boolean isCommitted() { return true; } public long getOperationId() { return 0L; } @SuppressWarnings("unchecked") public T getCurrentValue() { return (T)this; } @SuppressWarnings("unchecked") public T getCommittedValue() { return (T)this; } }
Detected license expression
mpl-2.0 AND epl-1.0
Detected license expression (SPDX)
MPL-2.0 AND EPL-1.0
Percentage of license text
10.23
Copyrights
- end_line: 2
  copyright: Copyright 2004-2023 H2 Group. Multiple-Licensed
  start_line: 2
Holders
- holder: H2 Group. Multiple-Licensed
  end_line: 2
  start_line: 2
Authors

      
    
License detections License expression License expression SPDX
mpl_2_0_and_epl_1_0-796bf8d7-f485-3520-923d-e6a4b1ecd2f3 mpl-2.0 AND epl-1.0 MPL-2.0 AND EPL-1.0
URL Start line End line
https://h2database.com/html/license.html 3 3
Package URL License Primary language
pkg:osgi/com.h2database.source@2.2.220